-
Notifications
You must be signed in to change notification settings - Fork 47.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add invariant check for composite components to event simulation test…
… utils (#10414) * Add invariant check for composite components to event simulation test utils * Change simulate variable names from domComponentOrNode to domNode, language for new simulate invariant, and add space in existing invariant * Update test name * Update test for invariant with shallow rendering * Update text for existing invariant and change comments to reflect change to only domNode usage * Update text for existing invariant to reflect syntax with new invariant * Update ReactTestUtilsEntry.js * Update React element invariant to reflect usage with shallow rendering * Move Simulate-related tests into Simulate block * Run prettier
- Loading branch information
Showing
2 changed files
with
140 additions
and
110 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