1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 20:27:37 +00:00
Files
TypeScript-Node-Starter/jest.config.js
Jesse Stuart c380a1dfeb fix(jest): Update deprecated ts-jest config option.
This is consistently reproducible -- see e.g.,
[the latest Travis build](https://travis-ci.org/microsoft/TypeScript-Node-Starter/builds/533095625)
for an example of this error in CI. Simple one-line fix.
2019-06-13 23:58:04 -04:00

19 lines
252 B
JavaScript

module.exports = {
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json'
}
},
moduleFileExtensions: [
'ts',
'js'
],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest'
},
testMatch: [
'**/test/**/*.test.(ts|js)'
],
testEnvironment: 'node'
};