Clement 81b3b8bc2a
Some checks failed
Build Docker Image Front / run (pull_request) Failing after 44s
Build Docker Image Back / run (pull_request) Successful in 42s
JsDocs / coverage (pull_request) Successful in 41s
Test and coverage / coverage (pull_request) Successful in 1m20s
fix tu
2024-06-07 18:21:18 +02:00

25 lines
495 B
JavaScript

/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
testPathIgnorePatterns: [
"<rootDir>/dist/"
],
testTimeout: 10000,
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverage: true,
coverageDirectory: 'coverage',
collectCoverageFrom: [
'**/*.ts',
'!/nodemodules/',
'!/jest.config.js/',
'!/coverage/',
'!**/server.ts',
'!**/swaggerDef.ts'
],
coverageThreshold: {
global: {
lines: 80,
},
},
};