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.
Add this skill
npx mdskills install sickn33/javascript-testing-patternsWell-scoped testing guide but lacks actionable instructions; relies entirely on external resource file
1---2name: javascript-testing-patterns3description: 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.4---56# JavaScript Testing Patterns78Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.910## Use this skill when1112- Setting up test infrastructure for new projects13- Writing unit tests for functions and classes14- Creating integration tests for APIs and services15- Implementing end-to-end tests for user flows16- Mocking external dependencies and APIs17- Testing React, Vue, or other frontend components18- Implementing test-driven development (TDD)19- Setting up continuous testing in CI/CD pipelines2021## Do not use this skill when2223- The task is unrelated to javascript testing patterns24- You need a different domain or tool outside this scope2526## Instructions2728- Clarify goals, constraints, and required inputs.29- Apply relevant best practices and validate outcomes.30- Provide actionable steps and verification.31- If detailed examples are required, open `resources/implementation-playbook.md`.3233## Resources3435- `resources/implementation-playbook.md` for detailed patterns and examples.36
Full transparency — inspect the skill content before installing.