title: How do I simulate browser events when writing tests for React js?
body: <p>How do I simulate a click on a div element? Or a mouse move? Or text input?</p>
  
  <p>How do I do it in a server side nodejs environment, like mocha?
  And how do I do it in a browser environment, with a runner like karma?</p>