Skip to content

Commit

Permalink
Fix for not finding test on Windows; see jestjs/jest#7914
Browse files Browse the repository at this point in the history
  • Loading branch information
willsmythe committed Mar 26, 2019
1 parent f843fb5 commit 63060eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
setupFilesAfterEnv: setupTestsFile ? [setupTestsFile] : [],
testMatch: [
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
'<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}',
'<rootDir>/src/**/*(*.)@(spec|test).{js,jsx,ts,tsx}',
],
testEnvironment: 'jsdom',
testURL: 'http://localhost',
Expand Down

0 comments on commit 63060eb

Please sign in to comment.