Open piotrwalczak1 opened 1 year ago
Very sorry for not getting back to this, but on the off change you see it, just want to check:
1) Have you set the Jest coverageDirectory
for the output?
2) Have you tried passing the actual output directory to the coverage
test?
import { coverage } from "@betterer/coverage";
export default {
"increase per-file test coverage": () => coverage('./my-reports-folder/my-report.json')
};
It defaults to './coverage/coverage-summary.json'.
as you can see here.
Either way, thanks for reporting an issue, the docs here clearly need some more details!
Describe the bug In spite of the fact that coverage file report is created using jest configuration, when running test for coverage from the docs it says:
To Reproduce betterer.ts
Expected behavior Test should execute without errors
*Screenshots** If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Additional context jest config: