Files
task-stream/apps/api/jest.e2e.config.cts
2026-10-03 13:40:26 +02:00

16 lines
460 B
TypeScript

/**
* End-to-end tests against real PostgreSQL, MongoDB and Redis.
* Requires `docker compose up -d`. Run with `npx nx e2e api`.
*/
module.exports = {
displayName: 'api-e2e',
preset: '../../jest.preset.js',
testEnvironment: 'node',
testMatch: ['<rootDir>/e2e/**/*.e2e-spec.ts'],
testTimeout: 30000,
transform: {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
};