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

Feature request: resolvedWith #256

Open
mm-gmbd opened this issue Jul 3, 2019 · 0 comments
Open

Feature request: resolvedWith #256

mm-gmbd opened this issue Jul 3, 2019 · 0 comments

Comments

@mm-gmbd
Copy link

mm-gmbd commented Jul 3, 2019

There may be a great reason to not include this, but it feels a bit odd (as I'm starting to write some async test cases) to provide a rejectedWith but not a fulfilledWith.

I understand that I can use .to.eventually.be.fulfilled.and.equal, but I'm wondering -- are:

  • .to.eventually.be.rejected.and.equal(), and
  • .to.eventually.be.rejectedWith()

not essentially the same?

If so, I'd think that the fulfilledWith "shortcut" should also be included. If they're not the same, then we can close this request due to my ignorance 😄

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

No branches or pull requests

1 participant