Skip to content

Map.getStreetView does not return StreetViewPanorama #324

@mvdvis-eco

Description

@mvdvis-eco

``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.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions