Skip to content

Commit 5f49649

Browse files
Fix jest config to exclude non-test files from test runs
Co-authored-by: indatawetrust <6845298+indatawetrust@users.noreply.github.com>
1 parent 96f5862 commit 5f49649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
4-
testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'],
4+
testMatch: ['**/__tests__/**/*.test.ts', '**/?(*.)+(spec|test).ts'],
55
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
66
collectCoverage: true,
77
coverageDirectory: 'coverage',

0 commit comments

Comments
 (0)