Skip to content

Top level await not available in before all hook #538

@ojeytonwilliams

Description

@ojeytonwilliams

When setting up for DOM tests it's not currently possible to use top-level await. The reason for this is simply that it is evaluated in a script, not a module.

Ideally we should either switch to using modules, but that might be challenging given how we currently deploy the test runner - it's attached to the window object after running a script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions