فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
test(A03): upgrade schema-version assertions to IndexedDB v7
davoodmehraban89 committed
Oct 14, 2026 at 23:24 UTC
84acd1b714c4032c70c1958754660f97448ea6c1
1 file changed
+1
-1
tests/accounting-migration.test.mjs
+1
-1
@@ -17,7 +17,7 @@ test('migration: upgrading legacy IndexedDB v4 preserves invoices and creates V2
17
});
18
db.close();
19
const upgraded = await StorageService.init();
20
- assert.equal(upgraded.version, 6);
20
+ assert.equal(upgraded.version, 7);
21
assert.deepEqual((await StorageService.get('invoices', 'legacy-inv-1')).number, 120);
22
assert.equal((await StorageService.get('products', 'legacy-product')).name, 'کالای قبلی');
23
for (const name of ['account_chart', 'fiscal_periods', 'journal_entries', 'journal_lines']) {