Files
nest-base/.cursor/rules/nestjs-testing-guidelines.mdc
2025-09-26 19:49:56 +07:00

8 lines
363 B
Plaintext

---
description: Sets standards for testing NestJS applications, including unit, integration, and end-to-end tests, plus the use of Jest.
globs: **/*.spec.ts
---
- Use the standard Jest framework for testing.
- Write tests for each controller and service.
- Write end to end tests for each api module.
- Add a admin/test method to each controller as a smoke test.