Vitest SDK
Vitest 4 just shipped visual testing, and we built a drop-in replacement that brings the full Vizzly experience to your Vitest tests. Same API you already use (toMatchScreenshot), but with local TDD workflows, team collaboration, and the Honeydiff engine under the hood. Zero code changes, way better features. Check out the Vitest docs →
What's New
- ✓ True drop-in replacement – uses Vitest's standard toMatchScreenshot API
- ✓ Local TDD mode with instant visual feedback (under 100ms comparisons)
- ✓ Automatic team builds from CI with position-based comments and review workflows
- ✓ Honeydiff engine with dynamic content detection, SSIM scoring, and smart anti-aliasing
- ✓ Multi-variant testing with properties object (themes, viewports, user states)
- ✓ Zero runtime dependencies – lightweight bridge between Vitest and Vizzly CLI
- ✓ Works with Vitest 4.0+ and requires Node.js 22+ for Honeydiff compatibility
Back to Changelog
Share: