-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
support for async matchers #169
Comments
I think this would be handled by eslint globals instead. |
@sidvishnoi Can you please elaborate? Is there a way we could it get working now? |
This project's readme says:
meaning globals are not handled here. So, we can add to following to globals:
expectAsync: true It would be a workaround until sindresorhus/globals#152 is merged and included in eslint |
ok, thx, makes sense. |
Feature request
Current behavior?
e.g.
await expectAsync(new Promise...
triggers'expectAsync' is not defined
What is the expected behavior?
At least it should pass wit
Please mention your node.js, eslint-plugin-jasmine and operating system version.
Node: 9
eslint-plugin-jasmine: 2.10.1
os: MacOS, docker node:9-alpine
jasmine 3.2.0
The text was updated successfully, but these errors were encountered: