feat: add tests for normalizeName and RecipesService methods, including unit conversion and alias normalization
This commit is contained in:
+14
-3
@@ -8,7 +8,9 @@
|
||||
"start:dev": "nest start --watch",
|
||||
"prisma:generate": "prisma generate",
|
||||
"prisma:migrate": "prisma migrate dev",
|
||||
"prisma:deploy": "prisma migrate deploy"
|
||||
"prisma:deploy": "prisma migrate deploy",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/common": "^10.3.0",
|
||||
@@ -35,6 +37,15 @@
|
||||
"@types/pdf-parse": "^1.1.5",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"prisma": "6.12.0",
|
||||
"typescript": "^5.4.5"
|
||||
"typescript": "^5.4.5",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.2.6",
|
||||
"@types/jest": "^29.5.14"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "ts-jest",
|
||||
"testEnvironment": "node",
|
||||
"rootDir": "src",
|
||||
"testRegex": ".*\\.spec\\.ts$",
|
||||
"moduleFileExtensions": ["js", "json", "ts"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user