-
Notifications
You must be signed in to change notification settings - Fork 47.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move removal behind
disableDOMTestUtils
flag
- Loading branch information
Showing
10 changed files
with
1,382 additions
and
62 deletions.
There are no files selected for viewing
537 changes: 528 additions & 9 deletions
537
packages/react-dom/src/__tests__/ReactTestUtils-test.js
Large diffs are not rendered by default.
Oops, something went wrong.
91 changes: 91 additions & 0 deletions
91
packages/react-dom/src/__tests__/__snapshots__/ReactTestUtils-test.js.snap
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ReactTestUtils Simulate should have locally attached media events 1`] = ` | ||
[ | ||
"abort", | ||
"animationEnd", | ||
"animationIteration", | ||
"animationStart", | ||
"auxClick", | ||
"beforeInput", | ||
"blur", | ||
"canPlay", | ||
"canPlayThrough", | ||
"cancel", | ||
"change", | ||
"click", | ||
"close", | ||
"compositionEnd", | ||
"compositionStart", | ||
"compositionUpdate", | ||
"contextMenu", | ||
"copy", | ||
"cut", | ||
"doubleClick", | ||
"drag", | ||
"dragEnd", | ||
"dragEnter", | ||
"dragExit", | ||
"dragLeave", | ||
"dragOver", | ||
"dragStart", | ||
"drop", | ||
"durationChange", | ||
"emptied", | ||
"encrypted", | ||
"ended", | ||
"error", | ||
"focus", | ||
"gotPointerCapture", | ||
"input", | ||
"invalid", | ||
"keyDown", | ||
"keyPress", | ||
"keyUp", | ||
"load", | ||
"loadStart", | ||
"loadedData", | ||
"loadedMetadata", | ||
"lostPointerCapture", | ||
"mouseDown", | ||
"mouseEnter", | ||
"mouseLeave", | ||
"mouseMove", | ||
"mouseOut", | ||
"mouseOver", | ||
"mouseUp", | ||
"paste", | ||
"pause", | ||
"play", | ||
"playing", | ||
"pointerCancel", | ||
"pointerDown", | ||
"pointerEnter", | ||
"pointerLeave", | ||
"pointerMove", | ||
"pointerOut", | ||
"pointerOver", | ||
"pointerUp", | ||
"progress", | ||
"rateChange", | ||
"reset", | ||
"resize", | ||
"scroll", | ||
"seeked", | ||
"seeking", | ||
"select", | ||
"stalled", | ||
"submit", | ||
"suspend", | ||
"timeUpdate", | ||
"toggle", | ||
"touchCancel", | ||
"touchEnd", | ||
"touchMove", | ||
"touchStart", | ||
"transitionEnd", | ||
"volumeChange", | ||
"waiting", | ||
"wheel", | ||
] | ||
`; |
Oops, something went wrong.