Skip to content

window.URL.createObjectURL jest fail #115

@juliehubs

Description

@juliehubs

When running a jest test, you will receive an error that window.URL.createObjectURL is not a function.

Any ideas of a way to fix this?

I have tried mocking it in jest, as I have found that this is supposedly a mapbox issue, but none of those solutions seem to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions