1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00
Files
TypeScript-Node-Starter/jest.config.js
Piotr Błażejewicz (Peter Blazejewicz) 51b7b21a3a update(ts-jest): update ts-config configuratin for 6.27 (#318)
This removes warnings about deprecated configuration option:

```text
tsConfig` is depecrated and will be removed in ts-jest 27
```

8fec6816e1

Thanks!
2021-02-05 19:50:25 +01:00

19 lines
324 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"
};