swaf/jest.config.js

22 lines
404 B
JavaScript

module.exports = {
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",
};