Skip to content

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

Closed
@smitbarmase

Description

@smitbarmase

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions