24 lines
371 B
JavaScript
24 lines
371 B
JavaScript
|
module.exports = {
|
||
|
transform: {
|
||
|
"^.+\\.ts$": "ts-jest"
|
||
|
},
|
||
|
moduleFileExtensions: [
|
||
|
"ts",
|
||
|
"js",
|
||
|
"json",
|
||
|
"node"
|
||
|
],
|
||
|
restoreMocks: true,
|
||
|
collectCoverage: true,
|
||
|
collectCoverageFrom: [
|
||
|
"src/**/*.ts",
|
||
|
"!src/**/*.test.ts",
|
||
|
],
|
||
|
coverageDirectory: ".coverage",
|
||
|
coverageReporters: [
|
||
|
"lcovonly",
|
||
|
"html",
|
||
|
"text-summary"
|
||
|
]
|
||
|
}
|