-
-
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.
Add alternative serialize API for pretty-format plugins (#4114)
* Add alternative serialize API for pretty-format plugins * Fix logic in ReactElement plugin and add test for zero number child * Add test for empty string child * Rename 2 helper functions and use in more places * Replace require paths to plugins with destructuring assignment * Add any type annotation to val arg of printPlugin * Replace overlooked occurrences of formatted with expected * Fix pretty lint error * Add comment and repeat to indent test * Add comment and repeat to indent test for react also * Fix pretty lint error in html_element.test.js
- Loading branch information
1 parent
31edc39
commit 9665de2
Showing
10 changed files
with
501 additions
and
226 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
Oops, something went wrong.