dillon1000/react

Commit

Fix EnterLeaveEventPlugin-test in IE10

Previously this was failing because iframeDocument.body wasn't properly initialized. Creating the document this way seems to work in all environments

Test Plan: Ran the test in jest, phantomjs, IE10, Chrome, and Firefox.
Browse files
Changed paths1 file
First-parent comparison
M src/browser/eventPlugins/__tests__/EnterLeaveEventPlugin-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…