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

Markers not rendering on UI

Open hytechpro-tarunbhardwaj opened this issue 1 year ago • 1 comments

after initialize()

getting only <div id="google-map" style="width: 100%; height: 400px;" />

Marker not rendering in UI and I need to test the onClick event on Marker

hytechpro-tarunbhardwaj avatar May 17 '24 08:05 hytechpro-tarunbhardwaj

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.

@hytechpro-tarunbhardwaj 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 May 17 '24 08:05 wangela

None of the classes and functions in this library have any actual implementation (I think the html you posted is also not coming from any part of this library). You can use the mockInstances.get(...) function to get access to API objects created in your code, and you have to implement tests for events etc yourself. Here's a a bit of help regarding that.

usefulthink avatar Jun 22 '24 09:06 usefulthink