chore: configure vitest with project-based setup and coverage
This commit is contained in:
parent
ce42eb1811
commit
04acd4b580
13 changed files with 1193 additions and 12 deletions
|
|
@ -3,7 +3,8 @@
|
|||
"compilerOptions": {
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"outDir": "./dist"
|
||||
"outDir": "./dist",
|
||||
"types": ["vitest/globals"],
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
}
|
||||
|
|
|
|||
3
packages/shared/vitest.config.ts
Normal file
3
packages/shared/vitest.config.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({ test: { environment: "node", globals: true } });
|
||||
Loading…
Add table
Add a link
Reference in a new issue