Skip to content

Commit

Permalink
fix(react-scripts): require.resolve jest watch plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Dec 11, 2022
1 parent cbddd5b commit 074bf9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/scripts/utils/createJestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ module.exports = (resolve, rootDir, isEjecting) => {
ext => !ext.includes('mjs')
),
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
require.resolve('jest-watch-typeahead/filename'),
require.resolve('jest-watch-typeahead/testname'),
],
resetMocks: true,
};
Expand Down

0 comments on commit 074bf9c

Please sign in to comment.