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

Write unit tests for draggable #205

Open
appsforartists opened this issue Apr 21, 2017 · 1 comment
Open

Write unit tests for draggable #205

appsforartists opened this issue Apr 21, 2017 · 1 comment
Milestone

Comments

@appsforartists
Copy link
Member

This could be a bit complex. We should test:

  • the final value is correct
  • intermediary values are correct
  • all the possible GestureRecognitionStates are correct
  • recognitionThreshold works as expected
  • setPointerCapture is called
@appsforartists appsforartists added this to the Draggable MVP milestone Apr 21, 2017
@appsforartists appsforartists changed the title Write unit tests for dragSystem May 18, 2017
@appsforartists
Copy link
Member Author

We've been lax on unit tests in the interests of getting an MVP together. There are so many surfaces that need better testing that I'm mildly tempted to close this (under the assumption that we need thoughtful unit tests everywhere).

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