6 ms·
How would you handle dom events with this method (such as click, hover etc.)?
by benhue 11y ago
How would you handle dom events with this method (such as click, hover etc.)?
- dugmartin 11y agoThere is a simulate event method in React TestUtils: https://facebook.github.io/react/docs/test-utils.html https://facebook.github.io/react/docs/test-utils.html