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-interactions] use dom-event-testing-library for Drag tests #17906

Closed
wants to merge 1 commit into from

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Jan 24, 2020

@necolas wrote an awesome testing library for DOM events, we should probably use it for the drag tests too. The PR replaces the hacky MouseEvents logic that was there before and makes the tests easier to read and more consistent with other responder tests. Hopefully it also helps with #17896.

@trueadm trueadm requested a review from necolas January 24, 2020 18:20
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 24, 2020
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f17b631:

Sandbox Source
upbeat-blackwell-uebev Configuration

@trueadm trueadm changed the title [react-interactions] use dom-event-testing-library [react-interactions] use dom-event-testing-library for Drag tests Jan 24, 2020
@sizebot
Copy link

sizebot commented Jan 24, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against f17b631

@sizebot
Copy link

sizebot commented Jan 24, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against f17b631

@necolas
Copy link
Contributor

necolas commented Jan 24, 2020

I removed these modules in #17907

@trueadm trueadm closed this Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants