mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-23 17:49:49 +08:00
17 lines
440 B
JavaScript
17 lines
440 B
JavaScript
|
module.exports = {
|
||
|
transform: {
|
||
|
".ts": "ts-jest",
|
||
|
},
|
||
|
globals: {
|
||
|
"ts-jest": {
|
||
|
diagnostics: false,
|
||
|
},
|
||
|
},
|
||
|
moduleFileExtensions: ["ts", "js"],
|
||
|
testMatch: ["<rootDir>/__tests__/**/**.spec.ts"],
|
||
|
testPathIgnorePatterns: ["/node_modules/", "/lib/", "<rootDir>/lib/"],
|
||
|
collectCoverage: Boolean(process.env.COVERAGE),
|
||
|
collectCoverageFrom: ["<rootDir>/src/**/*.ts"],
|
||
|
coveragePathIgnorePatterns: ["generated"],
|
||
|
};
|