Files
camofox-browser/jest.config.e2e.cjs
Pradeep Elankumaran 1bdd925371 feat: OpenAPI spec + swagger-stripey docs at /docs (#78)
Auto-generated OpenAPI 3.0 spec from JSDoc annotations on all 31 routes via swagger-jsdoc. Docs at /docs using swagger-stripey. CI split into parallel unit + e2e jobs (133s → 80s).

Supersedes #69. Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-04-25 11:52:02 -07:00

23 lines
534 B
JavaScript

module.exports = {
transform: {},
testEnvironment: 'node',
testTimeout: 60000,
// e2e tests run sequentially (shared browser state)
maxWorkers: 1,
testMatch: ['**/tests/e2e/*.test.js'],
testPathIgnorePatterns: ['/node_modules/', 'live'],
globalSetup: './tests/e2e/globalSetup.js',
globalTeardown: './tests/e2e/globalTeardown.js',
verbose: true,
bail: 0,
reporters: [
'default',
...(process.env.CI ? [['jest-junit', { outputDirectory: 'test-results', outputName: 'e2e-results.xml' }]] : [])
]
};