diff --git a/backend/__tests__/integration/invoiceDunning.test.js b/backend/__tests__/integration/invoiceDunning.test.js index a1d54301..8b4194a3 100644 --- a/backend/__tests__/integration/invoiceDunning.test.js +++ b/backend/__tests__/integration/invoiceDunning.test.js @@ -10,6 +10,11 @@ */ const { bootCrmDb, seedMinimal } = require('./helpers/crmDb'); +// bootCrmDb runs the full core-migration set in beforeAll; under full-suite +// parallel load on a small CI runner that can exceed the 5s default. Match the +// other migration-heavy CRM suites (discountLineItems, incomingInvoiceRebill). +jest.setTimeout(30000); + let db; let cleanup; let invoiceService; diff --git a/backend/__tests__/integration/workflowEngine.test.js b/backend/__tests__/integration/workflowEngine.test.js index 22ff4a17..e57894e5 100644 --- a/backend/__tests__/integration/workflowEngine.test.js +++ b/backend/__tests__/integration/workflowEngine.test.js @@ -7,6 +7,11 @@ */ const { bootCrmDb } = require('./helpers/crmDb'); +// bootCrmDb runs the full core-migration set in beforeAll; under full-suite +// parallel load on a small CI runner that can exceed the 5s default. Match the +// other migration-heavy CRM suites (discountLineItems, incomingInvoiceRebill). +jest.setTimeout(30000); + let db; let cleanup; let engine; diff --git a/backend/__tests__/integration/workflowRoutes.test.js b/backend/__tests__/integration/workflowRoutes.test.js index e0b8024b..cda28f55 100644 --- a/backend/__tests__/integration/workflowRoutes.test.js +++ b/backend/__tests__/integration/workflowRoutes.test.js @@ -6,6 +6,11 @@ const { bootCrmDb, seedMinimal, assignAdminRole, mintAdminToken, buildRouteApp, } = require('./helpers/crmDb'); +// bootCrmDb runs the full core-migration set in beforeAll; under full-suite +// parallel load on a small CI runner that can exceed the 5s default. Match the +// other migration-heavy CRM suites (discountLineItems, incomingInvoiceRebill). +jest.setTimeout(30000); + let db; let cleanup; let app;