Skip to content

Commit ba3f5b2

Browse files
authored
Code coverage nits. (#329)
* Only collect coverage information from tools/src. Signed-off-by: dblock <[email protected]>
1 parent 362c90c commit ba3f5b2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

codecov.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
threshold: 0.1%

jest.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
module.exports = {
1212
preset: 'ts-jest',
1313
testEnvironment: 'node',
14-
moduleDirectories: ['node_modules', './tools/src']
14+
moduleDirectories: ['node_modules', './tools/src'],
15+
collectCoverageFrom: ['tools/src/**']
1516
}

0 commit comments

Comments
 (0)