-
Notifications
You must be signed in to change notification settings - Fork 149
fix(no-wait-for-side-effects): detect await expressions #1008
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
base: main
Are you sure you want to change the base?
fix(no-wait-for-side-effects): detect await expressions #1008
Conversation
87f42ea
to
bb3ced4
Compare
no-wait-for-side-effects
doesn't detect await expressionno-wait-for-side-effects
doesn't detect await expressions
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1008 +/- ##
==========================================
- Coverage 96.27% 96.25% -0.03%
==========================================
Files 46 47 +1
Lines 2472 2483 +11
Branches 1025 1031 +6
==========================================
+ Hits 2380 2390 +10
- Misses 92 93 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing this bug!
I see code coverage went down, so Codecov complains. Can you add extra tests for no-wait-for-multiple-assertions
? It's indirectly affected (see more details).
@@ -797,5 +807,19 @@ ruleTester.run(RULE_NAME, rule, { | |||
], | |||
} as const, | |||
]), | |||
|
|||
...SUPPORTED_TESTING_FRAMEWORKS.flatMap((testingFramework) => [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (blocking): Please add a test for the scenario reported in #742 description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
no-wait-for-side-effects
doesn't detect await expressions…property-identifier-node-await-expression
Closes #742