Skip to content

Fix Mocha bug with double-errors when uncaught #10

@domenic

Description

@domenic

Because we catch real errors, not strings (which window.onerror usually gets), mocha sets err.uncaught = true, which then triggers a second error display in the main window.

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