Skip to content

Commit a3ddc93

Browse files
committed
update test coverage settings
1 parent f83d2ae commit a3ddc93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

jest.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
4-
setupFiles: ['<rootDir>/tests/setup.ts']
4+
roots: ['<rootDir>/tests'],
5+
setupFiles: ['<rootDir>/tests/setup.ts'],
6+
"collectCoverageFrom": [
7+
"<rootDir>/src/**/*.ts",
8+
"!**/node_modules/**",
9+
]
510
};

0 commit comments

Comments
 (0)