@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / 7a24ebf
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 3, 23:15 UTC

test(B03-R3): preserve recovery and cache contracts in scripts/quality-check.mjs

davoodmehraban89 committed Nov 24, 2026 at 17:06 UTC 7a24ebff18128e662f2f2c312be16f24d756f581
1 file changed +1 -1
scripts/quality-check.mjs
+1 -1
@@ -66,7 +66,7 @@ for(const cssNeedle of ['--shell-rail','--shell-panel','.module-tab.active','.mo
66 if(!index.includes(cssNeedle))throw new Error('Phase 1 responsive shell CSS missing '+cssNeedle);
67
68 for(const coll of ['fiscalYears','accounts','dimensionTypes','dimensionValues','accountDimensionRules','branches','projects','projectLinks'])if(!all['core.js'].includes("'"+coll+"'"))throw new Error('Phase 2 collection missing '+coll);
69 -if(!index.includes('data-module="accounting"')||!index.includes('accounting-foundation.js?v=20261007-p0-r1'))throw new Error('Phase 2 accounting shell integration missing');
69 +if(!index.includes('data-module="accounting"')||!index.includes('accounting-foundation.js?v=20261124-readonly-recovery-v1'))throw new Error('Phase 2 accounting shell integration missing');
70
71 for(const coll of ['postingProfiles','journalVouchers','journalLines','journalLineDimensions'])if(!all['core.js'].includes("'"+coll+"'")||!all['sync.js'].includes(coll))throw new Error('Phase 3 collection missing '+coll);
72 for(const needle of ['jeValidateLines','jeValidateDimensions','jeCreateDraft','jePost','jeReverse','jeDeleteDraft','jeTrialBalance','sourceVersion'])if(!all['journal-engine.js']?.includes(needle))throw new Error('Phase 3 journal invariant missing '+needle);