Deck gl with Jest mock WebMercatorViewport object #8809
Unanswered
ariel-upstream
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Sounds like you just need to bind your mock fitbounds method. Consult you jest documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to mock the object of WebMercatorViewport with the fitBounds function.
but I can't get rid of the error:
In my setupTests I'm using jest mock:
Beta Was this translation helpful? Give feedback.
All reactions