Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

A mock for non-browser enviorments #6

@mcwhittemore

Description

@mcwhittemore

When I started this lib there wasn't a known way to run mapbox-gl-js in a non-web-gl browser environment and so I had this mock only mock mapbox-gl-js functionality. Now that there is a solution for running mapbox-gl-js in a non-web-gl environment, should this mock look into being for Node.js only?

Some questions to answer.

  • Does it come with browser mocking?
  • Can we move away from mocking the mapbox-gl-js to mocking parts of the browser that mapbox-gl-js needs that aren't in normal browser mocks?
  • Are there more feature complete browser mocks than mock-browser that could render this unneeded with the mock-gl-context option?

/cc @davidtheclark @scothis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions