dillon1000/react

Commit

Fix EnterLeaveEventPlugin Test in jsdom

This is a follow-up to #803.

In jsdom (used for internal testing), `<iframe>` does not properly create a default document. This makes the `EnterLeaveEventPlugin` tests work for jsdom, too.

Open source does not need this because it uses PhantomJS.
Browse files
Changed paths1 file
First-parent comparison
M src/eventPlugins/__tests__/EnterLeaveEventPlugin-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…