api-test-integration
Installation
SKILL.md
Integration Tests
Purpose
Generate co-located integration tests for CQRS handlers with mocked dependencies, test fixtures, and real database operations using Jest + Testcontainers.
Why Jest Instead of node:test?
This repository uses Jest for ALL testing instead of Node.js's built-in node:test runner:
- Issue: nestjs/nest#14130 - NestJS
@nestjs/testingis incompatible withnode:test - Impact:
node:testcannot properly injectQueryBus,CommandBus, or other NestJS providers - Solution: Jest provides full compatibility with NestJS's testing utilities and DI system