Skip to content

test: PWA component tests failing (ThemeProvider + undefined component import) #126

@humibot

Description

@humibot

Running on main fails locally. Key failures:\n\n1) : thrown from when rendering in tests. Suggest wrapping renders in a ThemeProvider (or providing a test helper ).\n\n2) : when rendering . Likely mismatch between default/named export or incorrect mock.\n\n3) : assertions cannot find expected text/roles; component may not render under test env due to missing conditions/mocks.\n\nThis blocks CI / regression confidence. Recommend adding a shared test render helper and ensuring PWA components don't hard-throw when provider missing (or tests always provide it).\n\nRepro: on Node 22 / npm 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions