Configure coverage to count everything under src (#8012)

This commit is contained in:
Oscar Hinton 2024-02-20 16:18:04 +01:00 committed by GitHub
parent 660017a25f
commit 25282f3e80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ module.exports = {
reporters: ["default", "jest-junit"],
collectCoverage: true,
// Ensure we collect coverage from files without tests
collectCoverageFrom: ["src/**/*.ts"],
coverageReporters: ["html", "lcov"],
coverageDirectory: "coverage",