зеркало из https://github.com/Azure/autorest.git
25 строки
608 B
JavaScript
25 строки
608 B
JavaScript
|
// @ts-check
|
||
|
|
||
|
const config = {
|
||
|
transform: {
|
||
|
"^.+\\.ts$": "ts-jest",
|
||
|
},
|
||
|
moduleFileExtensions: ["ts", "js", "json", "node"],
|
||
|
moduleNameMapper: {},
|
||
|
collectCoverage: true,
|
||
|
collectCoverageFrom: ["src/**/*.ts", "!**/node_modules/**"],
|
||
|
coverageReporters: ["json", "lcov", "cobertura", "text", "html", "clover"],
|
||
|
coveragePathIgnorePatterns: ["/node_modules/", ".*/test/.*"],
|
||
|
modulePathIgnorePatterns: ["<rootDir>/sdk"],
|
||
|
globals: {
|
||
|
"ts-jest": {
|
||
|
tsconfig: "tsconfig.json",
|
||
|
},
|
||
|
},
|
||
|
setupFilesAfterEnv: [],
|
||
|
verbose: true,
|
||
|
testEnvironment: "node",
|
||
|
};
|
||
|
|
||
|
module.exports = config;
|