Skip to content

Commit

Permalink
Code coverage nits. (#329)
Browse files Browse the repository at this point in the history
* Only collect coverage information from tools/src.

Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock authored Jun 10, 2024
1 parent 362c90c commit ba3f5b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage:
status:
project:
default:
threshold: 0.1%
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleDirectories: ['node_modules', './tools/src']
moduleDirectories: ['node_modules', './tools/src'],
collectCoverageFrom: ['tools/src/**']
}

0 comments on commit ba3f5b2

Please sign in to comment.