mirror of
https://github.com/jo-inc/camofox-browser.git
synced 2026-10-02 04:14:41 +08:00
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>
23 lines
534 B
JavaScript
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' }]] : [])
|
|
]
|
|
};
|