add cursor
This commit is contained in:
8
.cursor/rules/nestjs-testing-guidelines.mdc
Normal file
8
.cursor/rules/nestjs-testing-guidelines.mdc
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user