testing-vitest
Installation
SKILL.md
Vitest Testing Guide
Use this skill when writing tests (*.spec.ts, *.e2e-spec.ts) for NestJS + MikroORM projects.
Test Types
- Integration Tests (*.spec.ts): Service layer, uses real DB
- E2E Tests (*.e2e-spec.ts): Full API endpoint flow
⚠️ Do NOT write controller unit tests ⚠️ Use real DB connection instead of mocks
Service Integration Test Structure
Related skills
More from bloominggrace/create-fullstack-service
mikro-orm-entity
Use when creating or modifying MikroORM entity files in the `entities/` folder.
10dto-response
Use when creating or modifying DTO files in the `dto/` folder.
6pr-title
Use when writing Pull Request titles or commit messages to follow the Korean action word convention.
5nest-mikro-orm-service
Use when creating or modifying NestJS service files that interact with MikroORM.
1