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:
parent
e2c86eb4d9
commit
5dfca22fe6
3 changed files with 1263 additions and 3 deletions
9
vitest.config.ts
Normal file
9
vitest.config.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
environment: 'node',
|
||||
include: ['__tests__/**/*.test.ts'],
|
||||
exclude: ['vendor/**', 'node_modules/**'],
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue