mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 19:51:17 +00:00
fix build
This commit is contained in:
parent
3c9fc19a3c
commit
51e6f4cd2a
3 changed files with 9 additions and 1 deletions
|
|
@ -30,5 +30,5 @@
|
|||
".next/dev/types/**/*.ts",
|
||||
"**/*.mts"
|
||||
],
|
||||
"exclude": ["node_modules"]
|
||||
"exclude": ["node_modules", "vitest.setup.ts", "vitest.config.ts", "tests/**"]
|
||||
}
|
||||
|
|
|
|||
7
tsconfig.test.json
Normal file
7
tsconfig.test.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"types": ["vitest/globals"]
|
||||
},
|
||||
"include": ["vitest.setup.ts", "vitest.config.ts", "tests/**/*.ts", "tests/**/*.tsx"]
|
||||
}
|
||||
|
|
@ -13,6 +13,7 @@ export default defineConfig({
|
|||
globals: true,
|
||||
environment: "jsdom",
|
||||
setupFiles: "./vitest.setup.ts",
|
||||
typecheck: { tsconfig: "./tsconfig.test.json" },
|
||||
include: ["tests/**/*.test.{ts,tsx}"],
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue