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

9
vitest.config.ts Normal file
View file

@ -0,0 +1,9 @@
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
environment: 'node',
include: ['__tests__/**/*.test.ts'],
exclude: ['vendor/**', 'node_modules/**'],
},
})