-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
test(react-query): fix async to promise and remove unnecessary await to match TypeScript requirements in useQueries.test.tsx #8887
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
test(react-query): fix async to promise and remove unnecessary await to match TypeScript requirements in useQueries.test.tsx #8887
Conversation
View your CI Pipeline Execution ↗ for commit 24532de.
☁️ Nx Cloud last updated this comment at |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8887 +/- ##
===========================================
- Coverage 46.59% 32.83% -13.76%
===========================================
Files 200 5 -195
Lines 7574 67 -7507
Branches 1743 16 -1727
===========================================
- Hits 3529 22 -3507
+ Misses 3669 37 -3632
+ Partials 376 8 -368
🚀 New features to boost your workflow:
|
d368e6b
to
a64679a
Compare
can we make the lint rule an |
Should I apply the line rule to the If all the async related work is done for the |
Fix ESLint warnings for async functions without await
Resolved ESLint "require-await" warnings throughout the test files by:
These changes don't affect functionality but make the linter happy and improve code clarity.