test(svelte-query/utils): add tests for 'watchChanges' first-run skip, array sources, and cleanup#10979
Conversation
…, array sources, and cleanup
|
View your CI Pipeline Execution ↗ for commit 7c54075
☁️ Nx Cloud last updated this comment at |
|
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 (1)
📝 WalkthroughWalkthroughAdds a new Vitest test file for the ChangeswatchChanges Utility Tests
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 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)
Comment |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Add unit tests for the
watchChangesutility inpackages/svelte-query/src/utils.svelte.ts, which previously had no direct test coverage.The added tests cover:
'post'flush timingThese bring the
'post'flush branch and the array-sources branch under coverage.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit