Skip to content

[slider] Fix failing handler test#12535

Merged
mbrookes merged 1 commit into
mui:masterfrom
eps1lon:fix-slider-tests
Aug 16, 2018
Merged

[slider] Fix failing handler test#12535
mbrookes merged 1 commit into
mui:masterfrom
eps1lon:fix-slider-tests

Conversation

@eps1lon

@eps1lon eps1lon commented Aug 15, 2018

Copy link
Copy Markdown
Member

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

@oliviertassinari oliviertassinari added the package: lab Specific to the lab. label Aug 15, 2018
@mbrookes

Copy link
Copy Markdown
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

eps1lon commented Aug 16, 2018

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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 scope: slider Changes related to the slider. test and removed package: lab Specific to the lab. labels Jan 9, 2021
@oliviertassinari oliviertassinari changed the title [Slider] Fix failing handler test [slider] Fix failing handler test May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: slider Changes related to the slider. test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants