1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-22 07:57:01 +01:00

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

View File

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