Skip to content

Commit

Permalink
Merge pull request #4809 from Hacker0x01/code-coverage
Browse files Browse the repository at this point in the history
Fix code coverage report
  • Loading branch information
martijnrusschen authored May 22, 2024
2 parents b0622ab + 1f47828 commit 14f6610
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ module.exports = {
setupFiles: ["<rootDir>/test/text_encoder.js"],
setupFilesAfterEnv: ["<rootDir>/test/index.js"],
testEnvironment: "jest-environment-jsdom",
collectCoverage: true,
coverageReporters: ["json", "lcov", "text", "clover"],
collectCoverageFrom: [
"**/*.{js,jsx, ts, tsx}",
"**/*.{js,jsx,ts,tsx}",
"!**/node_modules/**",
"!**/vendor/**",
],
Expand Down

0 comments on commit 14f6610

Please sign in to comment.