-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[test] Migrate ButtonBase to react-testing-library #23011
Conversation
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
No bundle size changes comparing 6f59621...45a8c3e |
@oliviertassinari Apparently there are some TS issues with Sinon stub, which stem from how TS3.5 interprets types (DefinitelyTyped/DefinitelyTyped#36019). Should I ts-ignore those? Additionally, there is an issue with TS when getting the 'style' object.I could replace that with 'chai-styles' if appropriate? |
fad89da
to
17627ea
Compare
Signed-off-by: Timo Sand <[email protected]>
17627ea
to
7481f1d
Compare
@oliviertassinari Yeah, that made more sense, changed it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between the assertions of the two test cases? They look identical.
c7f464e
to
45a8c3e
Compare
@deiga Thanks! |
#22911