You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
512 B
18 lines
512 B
const { pathsToModuleNameMapper } = require("ts-jest"); |
|
|
|
const { compilerOptions } = require("./tsconfig"); |
|
|
|
module.exports = { |
|
collectCoverage: true, |
|
coverageReporters: ["html", "lcov"], |
|
coverageDirectory: "coverage", |
|
moduleNameMapper: pathsToModuleNameMapper(compilerOptions?.paths || {}, { |
|
prefix: "<rootDir>/", |
|
}), |
|
projects: [ |
|
"<rootDir>/angular/jest.config.js", |
|
"<rootDir>/common/jest.config.js", |
|
"<rootDir>/electron/jest.config.js", |
|
"<rootDir>/node/jest.config.js", |
|
], |
|
};
|
|
|