mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
23 lines
576 B
JavaScript
23 lines
576 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
|
module.exports = {
|
|
verbose: false,
|
|
preset: 'ts-jest',
|
|
collectCoverage: false,
|
|
collectCoverageFrom: ['src/**/*.ts', '!**/node_modules/**', '!build/**'],
|
|
coverageThreshold: {
|
|
global: {
|
|
lines: 82,
|
|
},
|
|
},
|
|
setupFiles: ['config-schema/test/testSetup.ts'],
|
|
setupFilesAfterEnv: [],
|
|
modulePathIgnorePatterns: ['<rootDir>/build/'],
|
|
moduleNameMapper: {
|
|
'@/(.*)': '<rootDir>/src/$1',
|
|
'@test/(.*)': '<rootDir>/test/$1',
|
|
},
|
|
transform: {
|
|
'^.+\\.(t|j)sx?$': '@swc/jest',
|
|
},
|
|
}
|