-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
releasedtriage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
``The Map.getStreetView function does not return a StreetViewPanorama mock.
dist/index.js#310
this.getStreetView = jest
.fn()
.mockImplementation(() => jest.fn());
This should be changed to return a StreetViewPanorama instead:
this.getStreetView = jest
.fn()
.mockImplementation(() => new StreetViewPanorama());
Metadata
Metadata
Assignees
Labels
releasedtriage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.