Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reaching Timeout causes expect.assertions() to fail #3742

Closed
cpojer opened this issue Jun 5, 2017 · 5 comments · May be fixed by #7201
Closed

Reaching Timeout causes expect.assertions() to fail #3742

cpojer opened this issue Jun 5, 2017 · 5 comments · May be fixed by #7201
Assignees

Comments

@cpojer
Copy link
Member

cpojer commented Jun 5, 2017

When using expect.assertions(), hitting the Jest default timeout causes the expect to fail. This causes spurious error logging because you get two errors:

One for timing out.
One for expect.assertions() failing.

The latter should be silenced (or ignored) if a timeout is reached.

@rickhanlonii
Copy link
Member

We should test to see if this is still an issue

@rickhanlonii rickhanlonii self-assigned this May 26, 2018
@SimenB
Copy link
Member

SimenB commented May 26, 2018

probably is, I don't think we have any checks for "has this test already failed?"

@github-actions
Copy link

This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Feb 26, 2022
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants