-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Jest setup scripts from Haste to path-based requires (#24753)
Summary: This is another step in moving RN towards standard path-based requires. All the requires in Jest's setup script have been rewritten to use relative requires. This commit uses relative requires instead of `react-native/...` so that if Facebook were to stop syncing out certain folders and therefore remove code from the react-native package, internal code at Facebook would not need to change. [General] [Changed] - Migrate Jest setup scripts from Haste to path-based requires Pull Request resolved: #24753 Differential Revision: D15258238 Pulled By: cpojer fbshipit-source-id: aa05dc8ea2e4ba195226e8ec7ba6482b7de03240
- Loading branch information
1 parent
09f17a4
commit 59749f5
Showing
2 changed files
with
53 additions
and
19 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