Skip to content

Commit

Permalink
tsc ignores coverage directory
Browse files Browse the repository at this point in the history
After running `jest --coverage`, this directory contains `.js` files,
which the compiler will attempt to check, and even build.
  • Loading branch information
nicknovitski committed Sep 12, 2024
1 parent 50d4f15 commit bf9cddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"outDir": "./build",
"rootDir": "./src"
},
"exclude": ["node_modules", "**/__mocks__", "**/__tests__", "build"]
"exclude": ["node_modules", "**/__mocks__", "**/__tests__", "build", "coverage"]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"composite": true,
"noEmit": true
},
"exclude": ["build"]
"exclude": ["build", "coverage"]
}

0 comments on commit bf9cddd

Please sign in to comment.