Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
benhue
on June 15, 2015
|
parent
|
context
|
favorite
| on:
Unit testing React components without a DOM
How would you handle dom events with this method (such as click, hover etc.)?
dugmartin
on June 15, 2015
[–]
There is a simulate event method in React TestUtils:
https://facebook.github.io/react/docs/test-utils.html
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: