Skip to content
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

Jest failed in react-plotly.js #344

Open
alchemist0803 opened this issue Oct 9, 2024 · 0 comments
Open

Jest failed in react-plotly.js #344

alchemist0803 opened this issue Oct 9, 2024 · 0 comments

Comments

@alchemist0803
Copy link

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?

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

No branches or pull requests

1 participant