swaf/jest.config.js

22 lines
404 B
JavaScript
Raw Normal View History

module.exports = {
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
}
},
2020-04-23 11:40:55 +02:00
transform: {
"^.+\\.ts$": "ts-jest"
},
moduleFileExtensions: [
'js',
'ts',
'd.ts'
],
testMatch: [
'**/test/**/*.test.ts'
],
testEnvironment: 'node',
2021-04-22 18:01:35 +02:00
testTimeout: 60000,
resolver: "jest-ts-webcompat-resolver",
2021-04-22 18:01:35 +02:00
};