dillon1000/react
Commit
Browse files Simulate synthetic events using ReactTestUtils
Most of the time this is what you want to do, so I've renamed what was Simulate to be SimulateNative. Now Simulate.change does what you expect, so this fixes #517 and fixes #519.
Changed paths9 files
First-parent comparisonsrc/browser/ReactEventEmitter.js ModifiedM src/browser/__tests__/ReactEventEmitter-test.js ModifiedM src/browser/dom/components/__tests__/ReactDOMInput-test.js ModifiedM src/browser/dom/components/__tests__/ReactDOMTextarea-test.js ModifiedM src/browser/eventPlugins/__tests__/AnalyticsEventPlugin-test.js ModifiedM src/core/__tests__/ReactBind-test.js ModifiedM src/event/EventPluginHub.js ModifiedM src/event/EventPluginRegistry.js ModifiedM src/test/ReactTestUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…