How to install nestjs-testing-expert
npx skills add https://github.com/shipshitdev/library --skill nestjs-testing-expertFull instructions (SKILL.md)
Source of truth, from shipshitdev/library.
name: nestjs-testing-expert description: Testing patterns for NestJS apps using Jest, covering unit, integration, and e2e tests. metadata: version: "1.0.0" tags: "nestjs, testing, jest"
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. - Mock external services with jest.fn or test doubles.
- For DB: use in-memory adapters or test containers when needed.
- Prefer
supertestfor HTTP-level e2e.
Tips
- Keep tests deterministic.
- Reset mocks between tests.
- Avoid shared mutable state.
Checklist
- Clear arrange/act/assert structure
- Minimal mocking
- Covers error paths
- Fast to run
Related skills
More from shipshitdev/library and the wider catalog.

youtube-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.

financial-operations-expert
Indie business financial clarity: profit tracking, tax planning, and cash flow management across multiple ventures.

web-content-fetcher
Extract article content from any URL as clean Markdown with automatic fallback between fast HTTP and headless browser modes.

shopify-admin
Write and explain Shopify Admin GraphQL queries and mutations for app development.

shopify-admin-execution
Execute validated Admin GraphQL operations against a Shopify store using Shopify CLI.

shopify-app-store-review
Pre-submission compliance check for Shopify apps against App Store requirements.