swaf/jest.config.js

19 lines
335 B
JavaScript
Raw Permalink Normal View History

2020-04-23 11:40:55 +02:00
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',
2020-04-23 11:40:55 +02:00
};