-
Notifications
You must be signed in to change notification settings - Fork 241
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
Prevent async describe
#18
Comments
I think this makes sense. We should also check for a (Anecdotally the first eslint rule I ever wrote: https://github.com/tlvince/eslint-plugin-jasmine/blob/master/lib/rules/no-suite-callback-args.js) |
Also of course check for a return value within |
I'm interested in contributing this feature - will open a PR for discussion on a WIP implementation. |
Thanks for this great plugin!
A mistake I've seen some people make is using an async function for
describe
, which then makes jest fail silently for a case like the following:It would be nice to have a rule that prevents this. Same would go for returning a promise (or any other value) inside
describe
.What do you guys think?
The text was updated successfully, but these errors were encountered: