What problem does it solve? Writing consistent, maintainable tests across a NestJS backend, web frontend, and E2E flows is hard when each layer uses different tools and conventions. This Skill provides concrete testing patterns aligned with the project's real stack so tests validate behavior instead of implementation details. ## Core Features & Use Cases - Layered Test Pyramid: Covers unit tests with Jest, integration tests with Jest + Supertest for HTTP contracts, and E2E flows with Playwright. - Ready-to-Use Patterns: Includes data factories, service unit tests, Supertest endpoint tests, React Testing Library component tests, and Playwright login flows. - Project Conventions: Enforces coverage thresholds (85% lines/functions, 80% branches), multi-tenant integration test context, mocking rules, and anti-pattern avoidance. - Use Case: When fixing a bug in a NestJS endpoint, first reproduce the failure with a Supertest integration test including the tenant header, then apply the fix and confirm the test passes. ## Quick Start Write a Jest unit test and a Supertest integration test for the login endpoint following the project testing patterns.