swaf/jest.config.js

21 lines
380 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',
resolver: "jest-ts-webcompat-resolver",
2021-04-22 18:01:35 +02:00
};