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

Testing a Popper throws v2 typography warnings due to getDefaultTheme #13742

Closed
2 tasks done
ilovett opened this issue Nov 29, 2018 · 1 comment
Closed
2 tasks done

Testing a Popper throws v2 typography warnings due to getDefaultTheme #13742

ilovett opened this issue Nov 29, 2018 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ilovett
Copy link

ilovett commented Nov 29, 2018

tests for a component which uses Popper is throwing warnings due to default theme.. component is mounted with mount with enzyme and no wrapping MuiThemeProvider

image

image

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Context 🔦

tests for a component which uses Popper is throwing warnings due to default theme.. enzyme mount ...

I suspect the default theme (if none defined) should be compatible with v2 typography ?

Your Environment 🌎

Tech Version
Material-UI v3.6.0
React
Browser
TypeScript
etc.
@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Nov 29, 2018
@oliviertassinari
Copy link
Member

Fixed in #13707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants