Skip to content

Add timeout option to tests #6177

@anonrig

Description

@anonrig

Something like this would help us avoid setting disabledTests: true for web-platform tests that are hanging due to a harness bug.

export const myTest = {
 timeout: 10_000, // in ms.
 async test() {
    scheduler.wait(11_000);
 }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions