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: add missing await statements #5918

Merged
merged 7 commits into from
Apr 9, 2020
Merged

fix: add missing await statements #5918

merged 7 commits into from
Apr 9, 2020

Conversation

JamieMagee
Copy link
Contributor

Fixes promises that aren't awaited, except in a few cases:

  • Top level awaits (still a proposal feature)
  • lib/util/exec/exec/spec.ts & lib/manager/gradle/index.spec.ts as the imports are not so straightforward.

This PR also includes a new test util method, mockPartial, which will call jest.requireActual on a module, then apply the overrides passed to it.

viceice
viceice previously approved these changes Apr 8, 2020
.eslintrc.js Show resolved Hide resolved
test/util.ts Show resolved Hide resolved
viceice
viceice previously approved these changes Apr 9, 2020
@rarkins rarkins merged commit d4f6aa4 into master Apr 9, 2020
@rarkins rarkins deleted the fix/missing-await branch April 9, 2020 10:47
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 19.203.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants