test(vue-query): replace deprecated 'toBeCalledWith' with 'toHaveBeenCalledWith'#10968
Conversation
|
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)
📝 WalkthroughWalkthroughA single test assertion in ChangesuseQuery Test Assertion Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Possibly related PRs
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 |
|
View your CI Pipeline Execution ↗ for commit c9657f6
☁️ 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
toBeCalledWithis a deprecated Jest-style alias in Vitest. This replaces the remaining usage invue-query'suseQuery.test.tswith the canonicaltoHaveBeenCalledWith.useQuery.test.ts:expect(useBaseQuery).toBeCalledWith(...)→toHaveBeenCalledWith(...)Purely a matcher-name change; no assertion behavior is altered.
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
Note: This release contains internal test improvements with no user-facing changes.