@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / 6a5b608
Fork 0

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

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

Synced Dec 4, 01:45 UTC

fix: repair escaped newline literals in adapter test

davoodmehraban89 committed Nov 17, 2026 at 17:17 UTC 6a5b6089d4e2f0abed653a80682653cdf7794361
1 file changed +1 -2
scripts/journal-rpc-adapter.test.mjs
+1 -2
@@ -250,8 +250,7 @@ test('source finalizers no longer create or post journal rows through the legacy
250 const invoiceEnd=invoiceSource.indexOf('
251 async function finalizeInvoiceDocumentUi',invoiceStart);
252 const purchaseStart=purchaseSource.indexOf('window.finalizePurchasePilotDraft=async function');
253 - const purchaseEnd=purchaseSource.indexOf('
254 - window.deletePurchasePilotDraft',purchaseStart);
253 + const purchaseEnd=purchaseSource.indexOf('\\n window.deletePurchasePilotDraft',purchaseStart);
254 assert.ok(invoiceStart>=0&&invoiceEnd>invoiceStart);
255 assert.ok(purchaseStart>=0&&purchaseEnd>purchaseStart);
256 const invoiceFinalizer=invoiceSource.slice(invoiceStart,invoiceEnd);