serializer/jest.config.js

25 lines
478 B
JavaScript
Raw Normal View History

2018-12-30 22:22:16 +00:00
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"
]
}