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)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds Vitest-based tests and runner configuration to the vue-query-devtools package: new npm test scripts, a Vitest ChangesVitest test infra + production-smoke tests
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 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)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
|
View your CI Pipeline Execution ↗ for commit a1f7fb0
☁️ 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 📦
|
|
CI's CI run: https://github.com/TanStack/query/actions/runs/25282211546/job/74121119451 |
🎯 Changes
Set up the vitest environment for
vue-query-devtoolsand add tests covering the production fallback inindex.ts.vite.config.tsto usedefineConfigfromvitest/configand add atestblock withjsdomenvironment.test:lib/test:lib:devscripts topackage.json.VueQueryDevtools.test.tsandVueQueryDevtoolsPanel.test.ts, each with ashould return null in non-development environmentscase that usesvi.stubEnv('NODE_ENV', 'production')+vi.resetModules()+try/finallycleanup for deterministic verification.The tests verify only the
index.tsproduction fallback (no SFC mount), so no@testing-library/vueis introduced. This mirrors the deterministic env pattern used inreact-query-devtools(#10627) andpreact-query-devtools(#10628).✅ Checklist
🚀 Release Impact
Summary by CodeRabbit
Tests
Chores