Skip to content

Clarify timeout message #2294

Closed
Closed

Description

We should consider updating the timeout error message from "timeout of [time] exceeded. Ensure the done() callback is being called in this test." to something like "timeout of [time] exceeded. Ensure the test completes within [time] or increase the timeout set, and ensure the done() callback is being called when this test completes." The current message makes it sound like the problem is forgetting to call done even when the problem is simply that the test took too long or that some asynchronous action never got called back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsMocha can use your help with this one!type: choregenerally involving deps, tooling, configuration, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions