Skip to content

Commit 074bf9c

Browse files
committed
fix(react-scripts): require.resolve jest watch plugins
1 parent cbddd5b commit 074bf9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/react-scripts/scripts/utils/createJestConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ module.exports = (resolve, rootDir, isEjecting) => {
6262
ext => !ext.includes('mjs')
6363
),
6464
watchPlugins: [
65-
'jest-watch-typeahead/filename',
66-
'jest-watch-typeahead/testname',
65+
require.resolve('jest-watch-typeahead/filename'),
66+
require.resolve('jest-watch-typeahead/testname'),
6767
],
6868
resetMocks: true,
6969
};

0 commit comments

Comments
 (0)