LogoClawIndex
CasesSkillsAbout
LogoClawIndex

vitest - Vitest testing framework conventions

Provides Vitest testing framework conventions and practices for writing, configuring, mocking, debugging, snapshots, coverage, and migration.

Tags

Updated: 2026-06-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • write tests
  • configure vitest
  • mock modules
  • debug test failures
  • create snapshots
  • measure coverage
  • migrate from jest

Inputs

  • test file
  • vitest.config.ts
  • source code

Outputs

  • test file
  • test results
  • coverage report
  • snapshot file

Requirements

  • Node.js or Bun runtime
  • 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
vitest
javascript
typescript
unit testing
write tests
configure vitest
mock modules
debug test failures
test file
vitest.config.ts
source code
test file
test results
coverage report