Skip to main content
Run any Skill in Manus
with one click

vitest-2026

Stars7
Forks5
UpdatedMarch 20, 2026 at 15:51

Apply this skill when writing, reviewing, or generating tests with Vitest. Covers Vitest v4 setup with Vite, config, file structure, test patterns, mocking (vi.fn, vi.mock, MSW for HTTP/WS), async testing, coverage with v8, what to never do, and patterns specific to TypeScript + real-time/WebSocket codebases. Based on official vitest.dev docs.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly