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/testing is incompatible with node:test
  • Impact: node:test cannot properly inject QueryBus, CommandBus, or other NestJS providers
  • Solution: Jest provides full compatibility with NestJS's testing utilities and DI system

When to Use

Installs
1
GitHub Stars
1
First Seen
Mar 12, 2026
api-test-integration — rimthan-lab/rimthan-plugins