-
Notifications
You must be signed in to change notification settings - Fork 53
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
Await expect linting error #114
Comments
From the Storybook interactions addon docs:
That said, even when I follow these rules, the eslint plugin fails to highlight misuse of await (or absence of await) |
Describe the bug
When using expect or userEvent TS and eslint seem to not agree on what needs to be used
To Reproduce
Expected behavior
"Expect" functions do not need to be awaited to work yet eslint is asking for them to be awaited. If you await them the 80007 TS error appears
The text was updated successfully, but these errors were encountered: