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

[react-events] Press: improve test coverage #16397

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

necolas
Copy link
Contributor

@necolas necolas commented Aug 15, 2019

  1. Run the tests in environments with and without PointerEvent support.
  2. Improve test coverage to include both mouse and touch pointers.
  3. Change Press responder so that it only listens to either pointer events or fallbacks events.

Demo: https://codesandbox.io/s/latest-responder-build-rz96j30rp

@sizebot
Copy link

sizebot commented Aug 15, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

1. Run the tests in both an environment without PointerEvent and one with PointerEvent.
2. Improve test coverage to include both mouse and touch pointers.
3. Change 'Press' so that it only listens to either pointer events or fallbacks events.
@necolas necolas merged commit ebd1f5d into facebook:master Aug 15, 2019
@necolas necolas deleted the react-events/press-tests branch December 20, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants