dillon1000/react

Commit

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.
Browse files
Changed paths9 files
First-parent comparison
M src/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…