dillon1000/react

Commit

Add media events back to TestUtils.Simulate (#12010)

The TestUtils lost media events when they were pulled out of the
topLevelTypes constant. This commit adds them back by concatenating
the media event keys to the list of top level types.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactTestUtils-test.js ModifiedA packages/react-dom/src/__tests__/__snapshots__/ReactTestUtils-test.js.snap AddedM packages/react-dom/src/test-utils/ReactTestUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…