testing drag and drop

56 views
Skip to first unread message

Stefan Huynh

unread,
Jan 6, 2015, 10:06:55 PM1/6/15
to jes...@googlegroups.com
Hello,

How does one test for drag and drop with Jest? I've looked through the source code, and I see that dragStart, dragOver, etc. are available methods on Simulate but I am at a loss as to how to implement these methods in a test. I am trying to test drag and drop functionality with the react-dnd library.

I am really new to Jest (this is my first day working with it), and any help would be greatly appreciated.

Thanks,
Stefan
Reply all
Reply to author
Forward
0 new messages