jest.config.json
{
"bail": true,
"expand": true,
"verbose": true,
"useStderr": true,
"forceExit": true,
"name": "endeavor",
"logHeapUsage": true,
"collectCoverage": true,
"testURL": "http://localhost/",
"coverageDirectory": "./coverage",
"testRegex": "(./ci/__tests__/.*| (\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"coveragePathIgnorePatterns": [
"./node_modules/",
"./dist/"
],
"coverageReporters": [
"json",
"lcov",
"text"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"diagnostics": true
}
}
}