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-patternsRun 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
| Date | Repo stars |
|---|---|
| 12 Oct 2026 | 40,457 |
| 11 Oct 2026 | 40,368 |
| 10 Oct 2026 | 40,319 |
| 9 Oct 2026 | 40,307 |
| 8 Oct 2026 | 40,296 |
| 7 Oct 2026 | 40,267 |
| 6 Oct 2026 | 40,238 |
| 5 Oct 2026 | 40,212 |
Installs
20k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- AntfuApplies Anthony Fu's tooling and conventions to JavaScript and TypeScript projects: linting, monorepos and library publishing.
- Webapp TestingTests local web applications with Playwright: verify frontend behaviour, debug the UI, capture screenshots and read browser logs.
- Browser Testing with DevToolsTests web apps in a real browser through Chrome DevTools MCP: inspect the DOM, read console errors, analyse network requests and profile performance.