Vitest Best Practices

Comprehensive vitest testing patterns covering test structure, AAA pattern, parameterized tests, assertions, mocking, test doubles, error handling, async testing, and performance optimization. Use when writing, reviewing, or refactoring vitest tests, or when user mentions vitest, testing, TDD, test coverage, mocking, assertions, or test files (*.test.ts, *.spec.ts).

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/data/vitest-best-practices commit 324370539c

Frequently asked questions

npx skillmds@latest add majiayu000/vitest-best-practices