chore: add vitest to devDependencies with config

Adds vitest as test runner for the MCP repo. Config targets
__tests__/**/*.test.ts and excludes vendor/ and node_modules/.
This commit is contained in:
Janpeter Visser 2026-04-30 18:22:51 +02:00
parent e2c86eb4d9
commit 5dfca22fe6
3 changed files with 1263 additions and 3 deletions

View file

@ -18,7 +18,8 @@
"prisma:generate": "prisma generate",
"postinstall": "prisma generate || true",
"typecheck": "tsc --noEmit",
"sync-schema": "bash scripts/sync-schema.sh"
"sync-schema": "bash scripts/sync-schema.sh",
"test": "vitest run"
},
"keywords": [
"mcp",
@ -39,6 +40,7 @@
"@types/pg": "^8.11.10",
"prisma": "^7.8.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0"
"typescript": "^5.7.0",
"vitest": "^4.1.5"
}
}