Skip to content

Commit a246fda

Browse files
authored
test: ignore coverage for the test folder (#1076)
* test: ignore coverage for the test folder * test: ignore coverage for the test folder
1 parent 93419b3 commit a246fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default async (): Promise<Config.InitialOptions> => {
3131
collectCoverage: true,
3232
coverageDirectory: 'coverage',
3333
coverageReporters: ['lcov'],
34-
coveragePathIgnorePatterns: ['/node_modules/'],
34+
collectCoverageFrom: ['src/**/*.ts'],
3535
moduleDirectories: ['node_modules'],
3636
projects: [
3737
{

0 commit comments

Comments
 (0)