dillon1000/react
Commit
Browse files 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`.
Changed paths3 files
First-parent comparisonsrc/event/EventPluginRegistry.js ModifiedM src/event/__tests__/EventPluginRegistry-test.js ModifiedM src/eventPlugins/__tests__/AnalyticsEventPlugin-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…