فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
fix(test): remove extra closing parenthesis from financial security regression
davoodmehraban89 committed
Oct 31, 2026 at 00:24 UTC
0c741ecfa0766a375ceabd4b208d052682a3dd17
1 file changed
+1
-1
tests/ui-control-structure.test.mjs
+1
-1
@@ -161,7 +161,7 @@ test('A03: financial list views encode imported record IDs and textual values',
161
const invoice=fs.readFileSync(path.join(root,'src','views','InvoicesView.js'),'utf8');
162
assert.ok(invoice.includes('${this._esc(k.label)}'), 'unknown imported invoice kind is not HTML escaped');
163
const expenses=fs.readFileSync(path.join(root,'src','views','ExpensesView.js'),'utf8');
164
- assert.ok(expenses.includes('this._esc(JSON.stringify(String(e.id ??')));
164
+ assert.ok(expenses.includes('this._esc(JSON.stringify(String(e.id ??'));
165
});
166
167
test('Q01: Escape is handled once for nested financial dialogs and shortcut target is topmost', () => {