-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unit testing #210
Comments
@jenyeeiam sorry for the late response here. Was this on master? Which version of Node were you using? |
No worries I resolved my problem, I found a way to mock the mapbox-gl library in my tests. Thanks anyways! |
@jenyeeiam Can you share your code? |
It's been a while, but here's the snippet of code I used to mock the mapbox-gl library jest.mock('mapbox-gl/dist/mapbox-gl', () => ({ |
This was referenced Jul 5, 2021
This was referenced Oct 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anyone else unable to run their unit tests on and receive this error?
TypeError: window.URL.createObjectURL is not a function
The text was updated successfully, but these errors were encountered: