-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deep-unmock transitive dependencies when using
dontMock
only
Summary:…also fixes a bunch of other transitive unmocking things + simplify `_shouldMock` + cache metadata more thoroughly. This should now work properly. We are deep-unmocking node_modules now which seems like the more sensible solution and works similar to how we deal with npm2. Given that npm2 also dedupes and install order matters (or well, npm is non-deterministic), this should now be the much saner choice for both projects. Closes #733 Reviewed By: kentaromiura Differential Revision: D2959955 fb-gh-sync-id: 7689afe345d71817b47cda01bbaba282df7abc86 shipit-source-id: 7689afe345d71817b47cda01bbaba282df7abc86
- Loading branch information
Showing
6 changed files
with
153 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.