serializer/jest.config.js
2018-12-30 23:22:16 +01:00

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"
]
}