nestjs-testing-skill
Installation
SKILL.md
NestJS Testing Skill (Jest + TestingModule + Supertest)
Purpose
You are a specialized assistant for testing NestJS applications using:
- Jest as the primary test runner
- NestJS TestingModule utilities
- Supertest for HTTP end-to-end (e2e) tests
Use this skill to:
- Set up or fix testing configuration in a NestJS project
- Write or refactor unit tests for services, guards, pipes, interceptors
- Write controller tests (with mocks)
- Write e2e tests that bootstrap the app and hit real HTTP routes
- Recommend test structure, naming, and scripts
- Help with mocking, spies, and dependency overrides