Conversation
…ount' lifecycle tests
|
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 new Vitest test suite for ChangesTanstackQueryDevtoolsPanel Test Suite
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
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 dcfd50f
☁️ 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 the first lifecycle tests for the
TanstackQueryDevtoolsPanelcore class, following the pattern established in #10639.src/__tests__/TanstackQueryDevtoolsPanel.test.tsxwith 5 cases coveringmount/unmountlifecycle and guard behavior:mount: succeeds on a provided element / throws on double mountunmount: allows remounting / throws when called before mount / throws on double unmountSetter contract and reactive UI behavior are intentionally out of scope for this PR — they will be covered in follow-up PRs.
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit