Adds vitest as test runner for the MCP repo. Config targets __tests__/**/*.test.ts and excludes vendor/ and node_modules/.
9 lines
207 B
TypeScript
9 lines
207 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
include: ['__tests__/**/*.test.ts'],
|
|
exclude: ['vendor/**', 'node_modules/**'],
|
|
},
|
|
})
|