24 lines
478 B
JavaScript
24 lines
478 B
JavaScript
module.exports = {
|
|
transform: {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
testRegex: "src/test\\.ts$",
|
|
testURL: "http://localhost:8014",
|
|
moduleFileExtensions: [
|
|
"ts",
|
|
"js",
|
|
"json",
|
|
"node"
|
|
],
|
|
restoreMocks: true,
|
|
collectCoverage: true,
|
|
collectCoverageFrom: [
|
|
"src/main.ts",
|
|
],
|
|
coverageDirectory: "out/coverage",
|
|
coverageReporters: [
|
|
"lcovonly",
|
|
"html",
|
|
"text-summary"
|
|
]
|
|
}
|