Skip to content

Reintroduce timeout on the outer command then chain #90

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

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

jagregory
Copy link
Contributor

What:

Fixes #89 and maybe #37

Why:

There was a regression in ab5263d that removed the timeout from the promise chain.

How:

I reintroduced the timeout.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

@kentcdodds
Copy link
Member

cc @Jmaharman

@bdelaforest
Copy link

bdelaforest commented Oct 11, 2019

@kentcdodds do you think we can have this merged soon? It's really annoying not to be able to override the default timeout value… 😕
Thanks in advance!

@jagregory
Copy link
Contributor Author

If it’s any reassurance to the maintainers, I’ve been using my PR for a couple of weeks now with no issues. Getting this merged would be great 😊

@kentcdodds
Copy link
Member

That is very encouraging @jagregory! Thank you.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you!

@kentcdodds kentcdodds merged commit c78aed5 into testing-library:master Oct 11, 2019
@kentcdodds
Copy link
Member

🎉 This PR is included in version 5.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All(?) timeouts report as "cy.then() timed out after waiting '4000ms'" rather than printing actual expectation failure
3 participants