/** @type {import('jest').Config} */ // E2E suite — runs the Testcontainers-backed integration tests // under tests/e2e/. Separate from the default jest.config.js because // it requires Docker and takes significantly longer. // // Usage: // RUN_E2E=1 npx jest --config=jest.e2e.config.js // // CI wires this into a dedicated e2e workflow step so the normal // unit-test suite stays <5s. module.exports = { preset: "ts-jest", testEnvironment: "node", roots: ["/tests/e2e"], testMatch: ["**/*.e2e.test.ts"], moduleFileExtensions: ["ts", "js", "json"], testTimeout: 120_000, };