SKILL20.6K installs41.8K

Javascript Testing Patterns

Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.

Type
Skill
Author
wshobson
Category
Testing
GitHub stars
41.8K
Installs
20.6K
Last updated
November 2, 2026

Install

npx skills add https://github.com/wshobson/agents --skill javascript-testing-patterns

Use cases


Frequently Asked Questions

Which testing frameworks does this skill cover?

It covers Jest, Vitest, and Testing Library.

What types of tests can I implement?

It supports unit tests, integration tests, and end-to-end testing.

Does this skill include TDD and BDD workflows?

Yes, it covers test-driven development and BDD workflows along with mocking and fixtures.


About this skill

Implements testing strategies with Jest, Vitest, and Testing Library across unit, integration, and end-to-end tests, including mocking, fixtures, and TDD/BDD workflows. It is for setting up test infrastructure or writing new JavaScript and TypeScript tests. Useful when a project needs a coherent testing approach rather than scattered test files.

Summary written with AI assistance from the project's public description.


Categories


More from wshobson


Similar Skills