Skip to content

Commit 86b87e2

Browse files
committed
fix(test): coverage all files in src
1 parent 67b765b commit 86b87e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default async function (watch?: boolean) {
66
'--preset', 'ts-jest',
77
'--coverage',
88
'--testEnvironment', 'node',
9+
'--collectCoverageFrom', 'src/**/*',
910
'--testMatch', '**/*.test.ts',
1011
...(watch ? ['--watch'] : [])
1112
], { stdio: 'inherit' })

0 commit comments

Comments
 (0)