Skip to content

Jest failed in react-plotly.js #344

@EugeneAtHigh

Description

@EugeneAtHigh

I am trying to test my component that uses react-plotly.js, but I encountered an error: window.URL.createObjectURL is not a function. To address this, I followed the tips mentioned in the here. However, after implementing those suggestions, I am still facing an error: TypeError: Cannot read properties of undefined (reading 'colors.#fff').

How can I resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions