Skip to content

Test failures when using as lib #228

Closed
@stuarthendren

Description

@stuarthendren

The match media query in the ThemeProvider causes test failures, for some reason the jest mock for window doesn't seam to work.
Nor if moved to global.

Can we make it not error if the value is not present on the window object.

Assignees: stuarthendren
Labels: bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions