LogoClawIndex
CasesSkillsAbout
LogoClawIndex

vitest - Vitest Testing Framework for Fast Unit and Integration Tests

Build fast unit and integration tests with Vitest 4.x testing framework

Tags

Updated: 2026-02-09

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • configure test environments
  • mock modules with vi.mock
  • spy on methods with vi.spyOn
  • create snapshot tests
  • test in-source code
  • configure workspace tests
  • run browser mode tests
  • generate test coverage reports
  • migrate from Jest

Inputs

  • test code files
  • vitest configuration file
  • package.json scripts
  • browser provider
  • coverage provider

Outputs

  • test results
  • coverage reports
  • snapshot files
  • test execution logs

Requirements

  • Vitest 4.x version
  • Vite 6.x compatibility
  • Node.js environment
  • TypeScript support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
testing
unit-testing
integration-testing
vitest
javascript
typescript
test-framework
configure test environments
mock modules with vi.mock
spy on methods with vi.spyOn
create snapshot tests
test code files
vitest configuration file
package.json scripts
test results
coverage reports
snapshot files