Skip to content

Commit 88a0614

Browse files
committed
fix(config/jest): remove 'src/' prefix from coverage glob
1 parent 5326955 commit 88a0614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const jestConfig = {
2424
testEnvironment: ifAnyDep(['webpack', 'rollup', 'react'], 'jsdom', 'node'),
2525
testURL: 'http://localhost',
2626
moduleFileExtensions: testMatchExtensions.concat('json'),
27-
collectCoverageFrom: [`src/**/${testMatchGlob}`],
27+
collectCoverageFrom: [`**/${testMatchGlob}`],
2828
testMatch: [
2929
`**/__tests__/**/${testMatchGlob}`,
3030
`test/**/${testMatchGlob}`,

0 commit comments

Comments
 (0)