Skip to content

Tests failing when used styled-components because not wrapped with ThemeProvider #1807

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

Closed
smitbarmase opened this issue Mar 15, 2021 · 0 comments · Fixed by #1808
Closed

Comments

@smitbarmase
Copy link
Contributor

Nature of issue?

  • Found a bug

Details about the bug:

  • Web browser and version: Microsoft Edge 89.0.774.54
  • Operating System: Windows 10 OS Version 2009
  • Steps to reproduce this bug:

Make use of styled-components and function prop in it. Tests for this will fail, the prop will not able to access the theme from ThemeProvider.

catarak added a commit that referenced this issue Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant