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

fix(valid-expect-in-promise): support await in arrays #949

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Oct 12, 2021

I think this is around where I'm ready to call it on how far we take this rule in terms of the level of complexity we support e.g. I'm not going to chase down supporting const obj = { property: await promiseWithExpect } (I'll review a PR if someone wants to chase that)

@SimenB SimenB merged commit a62130c into main Oct 14, 2021
@SimenB SimenB deleted the valid-promise-array branch October 14, 2021 06:54
github-actions bot pushed a commit that referenced this pull request Oct 14, 2021
## [25.0.6](v25.0.5...v25.0.6) (2021-10-14)

### Bug Fixes

* **valid-expect-in-promise:** allow `expect.resolve` & `expect.reject` ([#948](#948)) ([71b7e17](71b7e17)), closes [#947](#947)
* **valid-expect-in-promise:** support `await` in arrays ([#949](#949)) ([a62130c](a62130c))
@github-actions
Copy link

🎉 This PR is included in version 25.0.6 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants