Olore Vitest Latest

Local vitest documentation reference (latest). Vitest testing framework documentation. Use for unit testing, mocking, coverage, snapshots, and Vite-native test configuration.

olorehq Updated 114 repo stars

File contents

vitest Documentation

Vitest testing framework documentation. Use for unit testing, mocking, coverage, snapshots, and Vite-native test configuration.

Quick Reference

Task Entry Point
Getting started contents/guide/index.md
Test API (test, describe, hooks) contents/api/test.md
Assertions contents/api/expect.md
Mocking / vi utility contents/api/vi.md
Configuration contents/config/index.md
Browser Mode contents/guide/browser/index.md
Coverage contents/guide/coverage.md
Troubleshooting contents/guide/common-errors.md

When to use

Use this skill when the user asks about:

  • Writing unit tests with Vitest (test, describe, expect, hooks)
  • Mocking modules, timers, and functions with vi
  • Vitest configuration options, projects, and CLI
  • Coverage, snapshots, Browser Mode, and migrating from Jest

How to find information

  1. First, read TOC.md for complete file listing organized by directory
  2. Identify relevant section based on user's question
  3. Read specific files for details

TOC.md contains all files organized by directory - always check it first.

olorehq/olore commit 4d946a7f48

Frequently asked questions

npx get-skill add olorehq/olore-vitest-latest