All skills
Deterministic Vitest captures
Stop component-test diffs that flake without a real change.
VitestDeterminismFlake
What it does
For @uiverify/vitest archive-replay captures: the DOM your browser-mode test renders is baked into a static archive at test time, so the fix for a flaky diff is to drive the component to one canonical state before the snapshot. A symptom-to-lever checklist for the variation you probably have.
Run it when a Vitest browser-mode component test diffs every run for no real reason.
- Covers the clock, live data, feature flags, animations, and randomness inside your components.
- The lever is almost always: stop the variation at record time.
- Integration is one plugin in your existing vitest.config.ts.
Install and run
just this skill
npx skills add uiverify/uiverify --skill vitest-visual-testing# then invoke it
/vitest-visual-testingOr install the whole bundle
terminal
npx skills add uiverify/uiverify
One command, any agent - Cursor, Codex, Copilot, Claude Code. Run npx skills update to pull the latest.
View on GitHub