2018-12-30 22:22:16 +00:00
|
|
|
module.exports = {
|
2019-09-13 11:57:21 +00:00
|
|
|
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"
|
|
|
|
]
|
2018-12-30 22:22:16 +00:00
|
|
|
}
|