سامانه صدور فاکتور و حسابداری
test(B03-R3): preserve recovery and cache contracts in scripts/phase0-invoice-persistence.spec.js
davoodmehraban89 committed
Nov 24, 2026 at 17:07 UTC
5a46dd0a3b59183319d04e9d84419a101684cc05
1 file changed
+1
scripts/phase0-invoice-persistence.spec.js
+1
@@ -302,4 +302,5 @@ test('paused conflict review cancels or explicitly loads verified server data wi
302
// Observe past the normal 300ms save debounce: recovery must not schedule an RPC.
303
await page.waitForTimeout(500);
304
expect(server.rpcCount).toBe(before);
305
+ expect(await page.evaluate(()=>{const d=computeDiff();return {upserts:d.up.map(x=>x.coll),deletes:d.del.map(x=>x.split('|')[0]),pending:syncPending,renderScope:finoraIsReadOnlyRefresh()};})).toEqual({upserts:[],deletes:[],pending:false,renderScope:false});
306
});