16 lines
460 B
TypeScript
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'],
|
|
};
|