We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0be90 commit b6889bcCopy full SHA for b6889bc
jest.config.js
@@ -2,10 +2,15 @@ module.exports = {
2
clearMocks: true,
3
moduleFileExtensions: ['js', 'ts'],
4
testEnvironment: 'node',
5
- testMatch: ['**/*.test.ts'],
+ testMatch: ['**/__tests__/*.test.ts'],
6
testRunner: 'jest-circus/runner',
7
transform: {
8
'^.+\\.ts$': 'ts-jest'
9
},
10
- verbose: true
+ verbose: true,
11
+ collectCoverage: true,
12
+ collectCoverageFrom: [
13
+ '**/src/*.ts',
14
+ '!**/node_modules/**'
15
+ ]
16
}
0 commit comments