-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block on mobile unit tests fail and instructions on how to debug (#18454
) * Make native mobile tests a required-to-succeed job * Proper Node debugger flag on native mobile tests * Documentation on how to debug native mobile tests * Look in RN first so the `Platform` import picks up the correct one Because there's also a Platform npm package installed too, running the native mobile unit tests locally (at least on macOS) results in picking up the wrong object. Putting the react-native/Libraries/Utilities first, Jest manages to resolve the proper Platform import. See https://github.com/facebook/react-native/blob/v0.60.0/Libraries/react-native/react-native-implementation.js#L324-L326 for the import. The ambiguity seems fixed in RN v0.61.4 with facebook/react-native@62c605e * Fix typo * Add additional way to launch the Chrome dev tools for mobile * Move the native mobile testing steps to testing-overview.md * Fix typo * Move the instructions closer to the regular unit testing sections
- Loading branch information
Showing
5 changed files
with
22 additions
and
4 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
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
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