Conversation
…text provider, and 'client' prop
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded test coverage for ChangesTest Coverage & Infrastructure
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
|
View your CI Pipeline Execution ↗ for commit 8d8c4e0
☁️ 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. |
size-limit report 📦
|
🎯 Changes
Add wrapper invariant tests for
SvelteQueryDevtools, following up on #10624.should throw an error if no query client has been set.should not throw an error if query client is provided via context(using a newWrapper.sveltehelper that rendersSvelteQueryDevtoolsinside<QueryClientProvider>).should not throw an error if query client is provided via props.This brings
svelte-query-devtoolsin line withsolid-query-devtools, which already covers the same three cases.✅ Checklist
pnpm run test:lib(4/4 passed).🚀 Release Impact
Summary by CodeRabbit
QueryClientconfiguration. Added test cases ensuring devtools correctly handles scenarios whereQueryClientis missing, provided via context, or passed as a prop, with appropriate error handling validation.