/** * 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: ['/e2e/**/*.e2e-spec.ts'], testTimeout: 30000, transform: { '^.+\\.[tj]s$': ['ts-jest', { tsconfig: '/tsconfig.spec.json' }], }, moduleFileExtensions: ['ts', 'js', 'html'], };