Skip to main content
javascript-testing-patternsby Seth HobsonDevelopmentGitHub stars: 40.5k

JavaScript Testing Patterns skill: what it does and how to install it

Creates JavaScript and TypeScript tests with Jest, Vitest and Testing Library, covering unit, integration and end-to-end testing.

Summary generated from the skill's documentation.

Install

$ npx skills add wshobson/agents --skill javascript-testing-patterns

Run it in a terminal. If your agent is already running, start a new session so it picks the skill up.

About this skill

What it does. Sets up Jest or Vitest test infrastructure and applies patterns for unit, integration, API, frontend and end-to-end tests. It covers mocks, spies, dependency injection, fixtures, factories, coverage, database cleanup and test-driven development.

When to use it. For JavaScript or TypeScript projects that need new tests, testing infrastructure, mocked dependencies, component tests or continuous testing. It also applies when adopting TDD or BDD workflows.

History

Repo stars

40.5k+245 since 5 Oct 2026

Stars are counted for the whole repository, which holds 26 skills.

Show as a table
Repo stars by day
DateRepo stars
12 Oct 202640,457
11 Oct 202640,368
10 Oct 202640,319
9 Oct 202640,307
8 Oct 202640,296
7 Oct 202640,267
6 Oct 202640,238
5 Oct 202640,212

Installs

20k

Tracking since . A chart appears once there are 7 days of data.

Installs via skills.sh

Similar skills