Skip to content

expose jsdom instance for config in tests #20

@zcrumbo

Description

@zcrumbo

This popped up while trying to write tests that involved sessionStorage - there's no way to do things like change jsdom's window.location.href without having access to the jsdom instance itself.
Can we expose a reference to it as a global in setup script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions