List coverage for untested files
module.exports = {
- roots: ["test/"],
+ roots: ["<rootDir>/src", "<rootDir>/test"],
transform: {
- "\\.(ts|js)x?$": ["./test/custom-transformer"],
+ "\\.(ts|js)x?$": ["./test/custom-transformer"]
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
setupFilesAfterEnv: ["jest-extended"],
- verbose: true
+ collectCoverageFrom: ["src/**/*.{js,jsx,ts,tsx}", "!src/**/*.d.ts"]
};
