Skip to content

Commit

Permalink
Fix jest config to accurately represent test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
havelessbemore committed May 13, 2024
1 parent 9ed5993 commit 5229822
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import { JestConfigWithTsJest } from "ts-jest";
export default {
preset: "ts-jest",
testEnvironment: "node",
collectCoverageFrom: [
"src/**/*.{js,jsx,ts,tsx}",
"!**/node_modules/**",
"!**/vendor/**",
],
coverageDirectory: "<rootDir>/coverage/",
coveragePathIgnorePatterns: [
"<rootDir>/benchmarks/",
Expand Down

0 comments on commit 5229822

Please sign in to comment.