mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
57c516cb0e
When calling ReactTestUtils.Simulate, sometimes you want to test that an exception is thrown by the event handler. This lets you do that without relying on the fact that old jsdom doesn't implement `Event`.