-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNMobile] Refactor
react-native-editor
initialization test (#37955)
* Refactor react-native-editor initialization test * Remove commented line code * Get block list component synchronously * Remove jest-console package import Due to this package removal the tests related to initialization have been refactored to cover the same logic. * Improve error handling in waitFor test helper * Update register gutenberg tests `initGutenberg` function now returns the Editor component instead of rendering the editor. * Update initialize editor test case Now the initialize editor case renders the actual Editor component including the example initial html. * Remove async from initialize editor test case
- Loading branch information
Showing
2 changed files
with
41 additions
and
37 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