title: How do I simulate drag and drop in enzyme testcase?
body: <p>I am trying to create a test for simulating a dragging of an image into a div. I am clueless on how to achieve this. Any help is much appreciated.</p>
  
  <pre><code>it('test drag and drop', () =&gt; {
      const app = mount(&lt;App /&gt;);
      const loco = app.find('.app img');
      const dropTarget = app.find('.drop-target');
      let mockEvent = { dataTransfer: { type: 'test' } };
      loco.simulate('drag', mockEvent);
      //loco.simulate('dragover', dropTarget, mockEvent);
      //loco.simulate('drop', dropTarget, mockEvent);
  });
  </code></pre>
  
  <p>I am trying to simulate the drop event, not sure how to do as 2 elements are involved in it.</p>
  
  <p>Thanks,
  Saud</p>