swaf/jest.config.js
2021-05-12 14:33:18 +02:00

22 lines
402 B
JavaScript

export default {
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
}
},
transform: {
"^.+\\.ts$": "ts-jest"
},
moduleFileExtensions: [
'js',
'ts',
'd.ts'
],
testMatch: [
'**/test/**/*.test.ts'
],
testEnvironment: 'node',
testTimeout: 60000,
resolver: "jest-ts-webcompat-resolver",
};