Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
074bf9c0
Commit
074bf9c0
authored
3 years ago
by
merceyz
Browse files
Options
Download
Email Patches
Plain Diff
fix(react-scripts): `require.resolve` jest watch plugins
parent
cbddd5bf
github/fork/merceyz/merceyz/fix/missing-dependencies
1 merge request
!11751
fix: resolve dependency issues
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-scripts/scripts/utils/createJestConfig.js
+2
-2
packages/react-scripts/scripts/utils/createJestConfig.js
with
2 additions
and
2 deletions
+2
-2
packages/react-scripts/scripts/utils/createJestConfig.js
+
2
-
2
View file @
074bf9c0
...
...
@@ -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
,
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets