QA: unit tests for API logic, Playwright smoke tests, pre-push check, manual QA checklist

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-08 20:11:07 +03:30
co-authored by Cursor
parent e6755d0c2e
commit 46a7693ea0
17 changed files with 827 additions and 1 deletions
+8
View File
@@ -16,6 +16,11 @@
"build": "npm run build --workspaces --if-present",
"build:shared": "npm run build -w @mento/shared",
"lint": "npm run lint --workspaces --if-present",
"test": "npm run build -w @mento/shared && npm test -w @mento/api",
"test:e2e": "playwright test",
"test:e2e:report": "playwright show-report",
"check": "node scripts/check.mjs",
"prepare": "node -e \"try{require('child_process').execSync('git config core.hooksPath .githooks',{stdio:'ignore'})}catch{}\"",
"db:generate": "npm run prisma:generate -w @mento/api",
"db:migrate": "npm run prisma:migrate -w @mento/api",
"db:seed": "npm run prisma:seed -w @mento/api"
@@ -25,5 +30,8 @@
},
"optionalDependencies": {
"@rollup/rollup-win32-x64-msvc": "^4.63.1"
},
"devDependencies": {
"@playwright/test": "^1.64.0"
}
}