Skip to content

Commit 4d89019

Browse files
committed
Remove testRegex from Jest config (now default)
1 parent bcad2ec commit 4d89019

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/react-scripts/utils/createJestConfig.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module.exports = (resolve, rootDir, isEjecting) => {
2727
setupTestFrameworkScriptFile: setupTestsFile,
2828
testPathIgnorePatterns: ['<rootDir>/(build|docs|node_modules)/'],
2929
testEnvironment: 'node',
30-
testRegex: '(/__tests__/.*|\\.(test|spec))\\.(js|jsx)$',
3130
};
3231
if (rootDir) {
3332
config.rootDir = rootDir;

0 commit comments

Comments
 (0)