dillon1000/react

Commit

Fix `EventPluginRegistry` Unit Tests

Dumping the mock cache isn't dirying the modules, so we have to unit test a different way. If we can fix our unit test framework, we should revert this.

Also, I added strict mode to `EventPluginRegistry.js`.
Browse files
Changed paths3 files
First-parent comparison
M src/event/EventPluginRegistry.js ModifiedM src/event/__tests__/EventPluginRegistry-test.js ModifiedM src/eventPlugins/__tests__/AnalyticsEventPlugin-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…