What problem does it solve? Teams struggle to decide what to test, which tools to use, and how to structure tests that catch real bugs without becoming flaky or slow. This Skill provides a complete testing strategy covering tool selection, test architecture, mocking patterns, and CI integration for JavaScript/TypeScript projects. ## Core Features & Use Cases - Testing Trophy Decision Framework: Prioritizes integration tests over unit tests, with E2E reserved for critical paths like auth and checkout flows. - Ready-to-Use Patterns: Includes Vitest configuration, Testing Library component tests, Playwright page objects, and MSW network-level mocking with concrete code examples. - CI Integration & Anti-Patterns: Provides a GitHub Actions workflow template and a catalog of common testing mistakes with fixes. - Use Case: When building a Next.js storefront, use this Skill to set up Vitest for cart calculation logic, MSW-mocked integration tests for API routes, and Playwright E2E tests for the checkout flow. ## Quick Start Ask the assistant to set up a testing strategy with Vitest unit tests and Playwright E2E tests for your project.