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
Bug Report: expectRejectCase & expectResolveCase is not working #254
Labels
Comments
If they do nothing, a PR removing them is very much welcome 🙂 |
Sure, PR is on the way. Just a few things to clarify:
As soon as, we clarify these topics, I'll start working on this rule and probably submit the PR tonight or tomorrow. |
|
🎉 This issue has been resolved in version 22.12.0 🎉 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
Hello, I was interested to solve the issue #54 and I was looking at the code base.
eslint-plugin-jest/rules/util.js
Lines 20 to 28 in 05eb11a
I realised that expectRejectCase & expectResolveCase functions are actually not working.
methodName(node) === 'reject';
here the method name must berejects
I think, and the same goes withresolves
.I found the usages for those functions and removing them actually doesn't break anything, means they were not working.
So, would it be ok if i fix these 2 functions and use them to solve issue #54 ?
The text was updated successfully, but these errors were encountered: