name: javascript-testing-patterns
description: 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.
JavaScript Testing Patterns
Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.
Use this skill when
Setting up test infrastructure for new projects
Writing unit tests for functions and classes
Creating integration tests for APIs and services
Implementing end-to-end tests for user flows
Mocking external dependencies and APIs
Testing React, Vue, or other frontend components
Implementing test-driven development (TDD)
Setting up continuous testing in CI/CD pipelines
Do not use this skill when
The task is unrelated to javascript testing patterns
You need a different domain or tool outside this scope
Instructions
Clarify goals, constraints, and required inputs.
Apply relevant best practices and validate outcomes.
Provide actionable steps and verification.
If detailed examples are required, open resources/implementation-playbook.md.
Resources
resources/implementation-playbook.md for detailed patterns and examples.
1---2name: zhugez-orbitsmith-javascript-testing-patterns3description: ---4---5---6name: javascript-testing-patterns7description: 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.8---910# JavaScript Testing Patterns1112Comprehensive guide for implementing robust testing strategies in JavaScript/TypeScript applications using modern testing frameworks and best practices.1314## Use this skill when1516- Setting up test infrastructure for new projects17- Writing unit tests for functions and classes18- Creating integration tests for APIs and services19- Implementing end-to-end tests for user flows20- Mocking external dependencies and APIs21- Testing React, Vue, or other frontend components22- Implementing test-driven development (TDD)23- Setting up continuous testing in CI/CD pipelines2425## Do not use this skill when2627- The task is unrelated to javascript testing patterns28- You need a different domain or tool outside this scope2930## Instructions3132- Clarify goals, constraints, and required inputs.33- Apply relevant best practices and validate outcomes.34- Provide actionable steps and verification.35- If detailed examples are required, open `resources/implementation-playbook.md`.3637## Resources3839- `resources/implementation-playbook.md` for detailed patterns and examples.4041---42> Source: [zhugez/OrbitSmith](https://github.com/zhugez/OrbitSmith) — distributed by [TomeVault](https://tomevault.io).43<!-- tomevault:4.0:skill_md:2026-06-16 -->
Run npx skillmds@latest add tomevault-io/zhugez-orbitsmith-javascript-testing-patterns in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.