mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 16:17:37 +00:00
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.
19 lines
252 B
JavaScript
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'
|
|
};
|