Modern TypeScript/JavaScript testing with Vitest. Fast unit and integration tests, native ESM support, Vite-powered HMR, and comprehensive mocking. Use for testing TS/JS projects.
62
57%
Does it follow best practices?
Impact
52%
1.04xAverage score across 3 eval scenarios
Passed
No known issues
Fix and improve this skill with Tessl
tessl review fix ./plugins/vitest-testing/skills/vitest-testing/SKILL.mdVitest setup with Bun in TypeScript project
Uses bun to install
0%
0%
bun test --run in script
0%
0%
Coverage command
0%
0%
defineConfig import
100%
100%
globals: true
100%
100%
environment: node
100%
100%
Coverage provider v8
100%
100%
Coverage reporters
100%
0%
Coverage thresholds 80
0%
0%
Test file naming convention
100%
100%
include pattern
0%
0%
Vitest mocking, timers, and date testing
vi imported from vitest
100%
100%
Module mock used
0%
100%
vi.fn() in mock factory
0%
100%
clearAllMocks in beforeEach
0%
20%
useFakeTimers in beforeEach
0%
0%
restoreAllMocks in afterEach
100%
0%
setSystemTime used
0%
0%
No internal mock
100%
100%
Descriptive test names
100%
100%
Async promise assertion
100%
100%
describe/it structure
100%
100%
Parametrized and concurrent Vitest tests
Correct test file name
100%
100%
describe() grouping
100%
100%
describe.each() usage
0%
0%
it.concurrent() usage
0%
0%
beforeAll() for shared setup
0%
0%
Descriptive test names
100%
100%
Vitest imports
100%
100%
vi mock for fetch
100%
100%
5e92b71
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.