Skip to content

Commit 654c27e

Browse files
authored
chore: add vitest config to cli (#32496)
1 parent 91fe08e commit 654c27e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"strip-ansi": "6.0.1",
9292
"tsx": "4.20.5",
9393
"typescript": "~5.9.2",
94-
"vitest": "3.2.4"
94+
"vitest": "^3.2.4"
9595
},
9696
"files": [
9797
"bin",

cli/vitest.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from 'vitest/config'
2+
3+
export default defineConfig({
4+
test: {
5+
include: ['test/**/*.spec.ts'],
6+
globals: true,
7+
environment: 'node',
8+
},
9+
})

0 commit comments

Comments
 (0)