Skip to content

fix(require-tothrow-message): require throw messages on async functions#303

Merged
SimenB merged 2 commits intojest-community:masterfrom
chrisblossom:async-fix-require-tothrow-message
Jul 18, 2019
Merged

fix(require-tothrow-message): require throw messages on async functions#303
SimenB merged 2 commits intojest-community:masterfrom
chrisblossom:async-fix-require-tothrow-message

Conversation

@chrisblossom
Copy link
Copy Markdown
Contributor

This PR fixes require-tothrow-message to properly require messages for async functions that use .rejects.toThrow(Error).

Copy link
Copy Markdown
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Thanks! Left a test nit, but this is great 🙂

@SimenB SimenB merged commit 3ee3874 into jest-community:master Jul 18, 2019
@chrisblossom chrisblossom deleted the async-fix-require-tothrow-message branch July 18, 2019 20:38
@SimenB
Copy link
Copy Markdown
Member

SimenB commented Jul 18, 2019

🎉 This PR is included in version 22.11.1 🎉

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.

3 participants