CtrlK
BlogDocsLog inGet started
Tessl Logo

vitest-testing

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

1.04x
Quality

57%

Does it follow best practices?

Impact

52%

1.04x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Fix and improve this skill with Tessl

tessl review fix ./plugins/vitest-testing/skills/vitest-testing/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

44%

-8%

Add Automated Testing to a TypeScript Math Utility Library

Vitest setup with Bun in TypeScript project

Criteria
Without context
With context

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%

62%

12%

Add Tests for the Greeter Module

Vitest mocking, timers, and date testing

Criteria
Without context
With context

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%

50%

Write Tests for a String Transformation Library

Parametrized and concurrent Vitest tests

Criteria
Without context
With context

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%

Repository
secondsky/claude-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.