-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix dependency issues #11465
fix dependency issues #11465
Conversation
@@ -1056,6 +1056,10 @@ export default async function normalize( | |||
rootDir: options.rootDir, | |||
}); | |||
|
|||
if (newOptions.runner === DEFAULT_CONFIG.runner) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it's not the default, it'll be resolved in the switch
above
Codecov Report
@@ Coverage Diff @@
## master #11465 +/- ##
=======================================
Coverage 69.17% 69.17%
=======================================
Files 312 312
Lines 16301 16305 +4
Branches 4717 4720 +3
=======================================
+ Hits 11276 11279 +3
- Misses 4997 4998 +1
Partials 28 28
Continue to review full report at Codecov.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fixes #11452.
The
slash
one fools the eslint plugin as it usesimport slash = require('slash')
syntax.The other change is because
jest-util
cannot access unresolved modules passed to it.normalize
injest-config
should ideally just pass absolute strings through in config. I've also added the dependency, so it can resolve it.Test plan
The changed check in
requireOrImportModule
threw without therequire.resolve
.