Jump to content
Search Community

How to cover test cases for onDrag and OnDragEnd

kiran
Moderator Tag

Recommended Posts

Posted

Hi Team,
How do I write test cases using jest/enzyme for onDrag and onDragend methods of "Draggable" plugin. I am using react hooks for development.
Plaese help with the sample code.

Thanks in advance.

Posted

Hey kiran and welcome to the GreenSock forums!

 

I'm not aware if any of our regulars here use jest/enzyme. Can you please provide a minimal setup to save us time of investigating how to get it hooked up correctly? No promises that we'll be able to, but that would increase the likelihood of us being able to help.

 

Also this thread may provide relevant information, I'm not sure:

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...