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

[Slider] Fix failing handler test #12535

Merged
merged 1 commit into from
Aug 16, 2018
Merged

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Aug 15, 2018

Includes mostly changes that handle enzyme#simulate gotchas. I also removed the mousedownhandler from the button since it seemed redundant.

See https://github.com/airbnb/enzyme/blob/master/docs/api/ShallowWrapper/simulate.md#common-gotchas for why we need to simulate events on the wrapper.

Errors were introduced in #11889
Fixes one error surfaced in #12531

@mbrookes
Copy link
Member

@eps1lon Thanks for working on this! Please could you run yarn docs:api? Seems this also got out of sync at some point, and is being picked up now CI is working.

@eps1lon
Copy link
Member Author

eps1lon commented Aug 16, 2018

This was fixed as a side-effect of #12538.

I just rebased master onto this.

@mbrookes mbrookes merged commit 661d011 into mui:master Aug 16, 2018
@mbrookes
Copy link
Member

@eps1lon Thanks!

@eps1lon eps1lon deleted the fix-slider-tests branch August 16, 2018 18:53
@oliviertassinari oliviertassinari changed the title [Slider] fix failing handler test [Slider] Fix failing handler test Aug 19, 2018
@oliviertassinari oliviertassinari added component: slider This is the name of the generic UI component, not the React module! test and removed package: lab Specific to @mui/lab labels Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: slider This is the name of the generic UI component, not the React module! test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants