test(integration): add lightweight MySQL-backed API smoke tests for center and guild

This commit is contained in:
nav
2026-05-12 12:04:33 +00:00
parent 41a4172267
commit 8534c530c8
9 changed files with 715 additions and 8 deletions

View File

@@ -10,7 +10,8 @@
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"format": "prettier --write 'src/**/*.ts'",
"test:unit": "vitest run"
"test:unit": "vitest run",
"test:integration": "vitest run src/*.integration.spec.ts"
},
"dependencies": {
"@nestjs/common": "^10.4.8",
@@ -30,14 +31,17 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@nestjs/testing": "^10.4.22",
"@types/bcryptjs": "^2.4.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^22.10.1",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^8.59.3",
"@typescript-eslint/parser": "^8.59.3",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.3",
"supertest": "^7.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"vitest": "^4.1.6"