diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..b07361e52 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,5 @@ +coverage: + status: + project: + default: + threshold: 0.1% diff --git a/jest.config.js b/jest.config.js index 24da6a51e..a2bd7196f 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,5 +11,6 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - moduleDirectories: ['node_modules', './tools/src'] + moduleDirectories: ['node_modules', './tools/src'], + collectCoverageFrom: ['tools/src/**'] }