Repository navigation
test(query-codemods): replace 'async' arrow functions without 'await' with 'Promise.resolve' in the fixtures - #12286
Conversation
… with 'Promise.resolve' in the fixtures
|
|
View your CI Pipeline Execution ↗ for commit 0bfd0ba
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
size-limit report 📦
|
🎯 Changes
Replace the
asyncarrow functions withoutawaitin the codemod fixtures withPromise.resolve, which keeps the samePromisereturn value and clears thetypescript/require-awaitwarnings inquery-codemods:src/v4/__testfixtures__/*-import.{input,output}.tsx:async () => null→() => Promise.resolve(null)forqueryFnandmutationFn.src/v5/remove-overloads/__testfixtures__/bug-reports.{input,output}.tsx:async () => 'foo'→() => Promise.resolve('foo').✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit