2019-10-02 20:12:55 +00:00
|
|
|
module.exports = {
|
|
|
|
transform: {
|
|
|
|
"^.+\\.ts$": "ts-jest"
|
|
|
|
},
|
|
|
|
moduleFileExtensions: [
|
|
|
|
"ts",
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
2019-11-07 21:33:23 +00:00
|
|
|
watchPathIgnorePatterns: [
|
|
|
|
"<rootDir>/dist/",
|
|
|
|
"<rootDir>/node_modules/",
|
|
|
|
],
|
2019-10-02 20:12:55 +00:00
|
|
|
restoreMocks: true,
|
|
|
|
collectCoverage: true,
|
|
|
|
collectCoverageFrom: [
|
|
|
|
"src/**/*.ts",
|
|
|
|
"!src/**/*.test.ts",
|
|
|
|
],
|
|
|
|
coverageDirectory: ".coverage",
|
|
|
|
coverageReporters: [
|
|
|
|
"lcovonly",
|
|
|
|
"html",
|
|
|
|
"text-summary"
|
|
|
|
]
|
|
|
|
}
|