Conversation
…ents to test files
📝 WalkthroughWalkthroughSystematic refactoring of svelte-query test files and components to enable dependency injection of Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 0c9d97f
☁️ 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. |
…ryClient1'/'queryClient2' for clarity
size-limit report 📦
|
🎯 Changes
queryClientcreation from 14 Svelte test components to test filesqueryClientvia$props()and callsetQueryClientContext(queryClient)queryClientinbeforeEachand callqueryClient.clear()inafterEachqueryClientlifecycle management across all svelte-query test files (QueryClientProvider,createInfiniteQuery,createMutation,createQuery,createQueries,useIsFetching,useIsMutating,useMutationState,mutationOptions,HydrationBoundary)let queryClienttolet activeClientincreateMutationwithEffectRoottest to avoid shadowing✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit