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).

pageai-pro 242ccc2 12 files · 104.8 KB Updated

File contents

pageai-pro/ralph-loop/tree/main/.agent/skills/vitest-best-practices commit 242ccc28cc

Frequently asked questions

npx skillmds add pageai-pro/vitest-best-practices