Files
antigravity-skills-reference/web-app/public/skills/javascript-testing-patterns/SKILL.md
Zied Boughdir ea47fe330f feat: auto-updating web app and prompt builder
* docs: detail auto-update via START_APP.bat

* feat: add interactive prompt builder to skill detail page

* Add a robust auto-update mechanism to the Web App launcher and introduce the Interactive Prompt Builder.

* docs: add interactive prompt builder section

* feat: add copy full content button
2026-02-25 15:57:15 +01:00

38 lines
1.3 KiB
Markdown

---
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..."
risk: unknown
source: community
---
# 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.