Skip to content

Commit

Permalink
fix(jest): Update deprecated ts-jest config option.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jessestuart committed Jun 14, 2019
1 parent 3916ec5 commit b1aec66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
globals: {
'ts-jest': {
tsConfigFile: 'tsconfig.json'
tsConfig: 'tsconfig.json'
}
},
moduleFileExtensions: [
Expand All @@ -15,4 +15,4 @@ module.exports = {
'**/test/**/*.test.(ts|js)'
],
testEnvironment: 'node'
};
};

0 comments on commit b1aec66

Please sign in to comment.