You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature request to add the drawingLibrary was added as #521. Besides that I don't see anything actionable for us here.
As for the original bug-report, I can't really tell where that error-message is coming from, but it coming from the implementation of the <GoogleMap> component seems reasonable. Unless that is the component you are developing and testing, I would advise to mock the entire component instead of trying to mock the Google Maps API and all it's interactions with the <GoogleMap> component.
The mocks provided here are really only useful if you are testing code that directly interacts with the Google Maps API, in which case there's no real alternative.
We are attempting to write Jest tests with a map component that is using the google maps api drawing library
but when the component is accessed in the jest test
it throws the following error:
Invariant Violation: Did you include prop libraries={['drawing']} in the URL? undefined
The text was updated successfully, but these errors were encountered: