What problem does it solve?
TypeScript projects often struggle with inconsistent testing practices across frontend and backend, leading to flaky tests and maintenance headaches. This Skill provides a unified set of testing patterns and strategies to bring reliability and clarity to unit, integration, and component tests for NestJS backends (Jest + Prisma mocks) and React frontends (Vitest + Testing Library), along with factories, mocks, and coverage guidance.
Core Features & Use Cases
- Testing across the full stack: Guides unit, integration, and component tests for NestJS backends and React frontends.
- Factories, mocking & coverage: Includes test factories, robust mocking patterns, and coverage strategies to ensure quality and maintainability.
- Use cases: Apply patterns to typical workflows like testing services, controllers, and UI components with predictable results.
Quick Start
Write a small test suite for a feature using Arrange → Act → Assert with Prisma mocks and React component tests.