first commit
This commit is contained in:
15
apps/api/jest.e2e.config.cts
Normal file
15
apps/api/jest.e2e.config.cts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 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'],
|
||||
};
|
||||
Reference in New Issue
Block a user