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

refactor: return a Promise instead of relying on callback parameter #289

Merged

Conversation

darekkay
Copy link
Contributor

@darekkay darekkay commented Oct 3, 2020

What:

Fix new ESlint issues on master branch.

Why:

The ESlint rule jest/no-done-callback was added here. Because the package versions are not pinned, the current master branch is failing, and so are all new PRs.

How:

Fix new ESlint warning by turning callbacks into promises.

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Copy link
Member

@Berkmann18 Berkmann18 left a comment

Choose a reason for hiding this comment

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

Thank you, hopefully, this will help to get hanging PRs merged.

@Berkmann18
Copy link
Member

@all-contributors Please add @darekkay for tests.

@allcontributors
Copy link
Contributor

@Berkmann18

I've put up a pull request to add @darekkay! 🎉

@Berkmann18 Berkmann18 merged commit d44b70a into all-contributors:master Oct 4, 2020
@all-contributors-release-bot
Copy link
Member

🎉 This PR is included in version 6.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@darekkay darekkay deleted the refactor/eslint-issues branch October 4, 2020 21:03
@darekkay darekkay restored the refactor/eslint-issues branch August 2, 2021 15:10
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.

None yet

3 participants