js-jest-mocks icon indicating copy to clipboard operation
js-jest-mocks copied to clipboard

places.PlacesServiceStatus.OK is not mocked

Open Somacros opened this issue 2 years ago • 1 comments

Hello!

I'm encountering this next error while testing a component that uses a 3rd party library that uses google maps API: image

I made this work by searching which property it is trying to read and mocking it by extending the global.window.google object you create with the method initialize() like this:

image

So my request is to add that mock for that particular flag. Thank you!

Somacros avatar Apr 05 '24 21:04 Somacros

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@Somacros Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

wangela avatar Apr 05 '24 21:04 wangela