javascript-testing-patterns
Comprehensive guide and patterns for unit, integration, and component testing in JavaScript and TypeScript.
Install
npx skills add https://github.com/wshobson/agents --skill javascript-testing-patternsStats
| Total installs | 7,041 |
| Weekly installs | 7.0K |
| GitHub stars | 32.4K |
| First seen | Jan 20, 2026 |
| Source | @wshobson/agents |
Summary
- Covers unit testing, integration testing, and component testing with patterns for pure functions, classes, async code, and React hooks
- Includes mocking strategies: module mocking, dependency injection, and spying on functions for isolated test execution
- Provides API and database integration test examples with real request/response handling and transaction cleanup
- Supports snapshot testing, test fixtures, coverage reporting, and best practices like the AAA pattern and TDD workflows
Tags
Related skills
| Skill | Installs | vs javascript-testing-patterns |
|---|---|---|
| antfu | 6,472 | -569 |
| fixing-accessibility | 5,690 | -1,351 |
| flutter-expert | 6,969 | -72 |
| golang-pro | 7,212 | +171 |
| improve-codebase-architecture | 5,172 | -1,869 |
FAQ
- How many installs does javascript-testing-patterns have?
- javascript-testing-patterns has 7,041 total installs and 7.0K installs this week.
- Where is javascript-testing-patterns hosted?
- javascript-testing-patterns is published by @wshobson/agents at https://github.com/wshobson/agents.
- How many GitHub stars does javascript-testing-patterns have?
- javascript-testing-patterns has 32.4K GitHub stars.
- When was javascript-testing-patterns first indexed?
- OrangeBot.AI first indexed javascript-testing-patterns on Jan 20, 2026.
- How do I install javascript-testing-patterns?
- Run: npx skills add https://github.com/wshobson/agents --skill javascript-testing-patterns