Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 417c9a4

Browse files
Brian Stonestonebk
authored andcommitted
Do not run tests in build folders.
1 parent 0ac1ed7 commit 417c9a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/createJestConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const createJestConfig = () => ({
1313
},
1414
testMatch: ['<rootDir>/**/__tests__/**/*.test.js', '<rootDir>/**/*.test.js'],
1515
testEnvironment: 'node',
16+
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/lib/', '<rootDir>/es/'],
1617
setupTestFrameworkScriptFile: '<rootDir>/test-setup/setup-globals.js',
1718
});
1819

0 commit comments

Comments
 (0)