Skip to content

Commit

Permalink
Actually produce reports
Browse files Browse the repository at this point in the history
  • Loading branch information
withinfocus committed Aug 30, 2024
1 parent 39da595 commit 653fdff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ module.exports = {
// ...angularPreset,
preset: "jest-preset-angular",

reporters: ["default", "jest-junit"],

collectCoverage: true,
// Ensure we collect coverage from files without tests
collectCoverageFrom: ["src/**/*.ts"],
coverageReporters: ["html", "lcov"],
coverageDirectory: "coverage",

testEnvironment: "jsdom",
testMatch: ["**/+(*.)+(spec).+(ts)"],

Expand Down

0 comments on commit 653fdff

Please sign in to comment.