Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to test swiping? #345

Open
richardwu opened this issue Jan 31, 2021 · 0 comments
Open

Best way to test swiping? #345

richardwu opened this issue Jan 31, 2021 · 0 comments

Comments

@richardwu
Copy link

Is there a good way to test the swiping action in jest + react-testing-library?

I currently also have buttons binded to the swiping actions, but it seems like pressing them do not clear out the cards on top. I have checked it does fire off the event, but it does not see to update the card indexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant