Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe change replaces deprecated Vitest spy assertion aliases with canonical ChangesVitest matcher migration
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Refactor · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to This test-only migration preserves existing behavior and presents no material merge risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎯 Changes
Closes #262.
This PR replaces the following deprecated Vitest spy assertion aliases with their canonical equivalents:
toBeCalled→toHaveBeenCalledtoBeCalledTimes→toHaveBeenCalledTimestoBeCalledWith→toHaveBeenCalledWithThese are assertion-only replacements and do not change the existing test behavior.
Affected test files
packages/pacer/tests/async-debouncer.test.tspackages/pacer/tests/debouncer.test.tspackages/pacer/tests/throttler.test.tspackages/pacer-lite/tests/lite-debouncer.test.tspackages/pacer-lite/tests/lite-throttler.test.tsVerification
packages/pacer: 555 tests passedpackages/pacer-lite: 223 tests passedtoBeCalled,toBeCalledTimes, ortoBeCalledWithremain in the repository✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit