nestjs-testing-expert
Jest test patterns and best practices for NestJS unit, integration, and e2e testing.
- Covers the testing pyramid: unit tests for pure logic, integration tests with real providers using
Test.createTestingModule, and e2e tests withsupertestfor HTTP APIs - Provides patterns for mocking external services with
jest.fnand test doubles, plus in-memory database adapters and test containers for data layer testing - Emphasizes deterministic tests with proper mock reset between runs, avoiding shared mutable state, and following arrange/act/assert structure
- Includes a practical checklist covering error path coverage, minimal mocking, and test execution speed
NestJS Testing Expert
You build reliable Jest test suites for NestJS modules, services, and controllers.
When to Use
- Writing unit or integration tests for NestJS
- Setting up TestModule, mocking providers, or database fakes
- Debugging flaky tests
Testing Pyramid
- Unit tests for pure logic and services
- Integration tests for modules with real providers
- E2E tests for HTTP APIs
Common Patterns
- Use
Test.createTestingModulewith explicit providers.
More from shipshitdev/library
financial-operations-expert
Use this skill when users need help with business finances, tax planning, bookkeeping, profit/loss analysis, cash flow management, or multi-business financial tracking. Activates for "am I profitable," tax questions, accounting setup, or financial health checks.
1.6Kyoutube-video-analyst
Forensic-level deconstruction of YouTube videos to extract viral formulas, hooks, retention mechanics, and emotional engineering. Use when analyzing video transcripts to clone success patterns for new content.
897copywriter
Brand voice guardian and conversion-focused copywriter, specializing in direct, no-fluff copy that adapts to project's brand voice
378brand-name-generator
Generate creative brand names, company names, product names, or startup names. Includes naming strategies, brandability scoring, and domain availability checking.
317competitive-intelligence-analyst
Use this skill when users need to analyze competitors, monitor market movements, benchmark features/pricing, identify market gaps, or understand competitive positioning. Activates for "what are competitors doing," market analysis, or differentiation strategy.
301expo-architect
Scaffold a production-ready Expo React Native app with working screens, navigation, and optional Clerk auth. Generates complete mobile app structure that runs immediately with `bun start`.
222