refactor: merge tsconfig.test.json into tsconfig.json
This commit is contained in:
parent
1c629436eb
commit
fa48c95dc5
3 changed files with 3 additions and 10 deletions
|
|
@ -338,7 +338,7 @@ export default defineConfig([
|
|||
},
|
||||
parserOptions: {
|
||||
projectService: false,
|
||||
project: './tsconfig.test.json',
|
||||
project: './tsconfig.json',
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
"@preload/*": ["./src/preload/*"],
|
||||
"@shared/*": ["./src/shared/*"]
|
||||
},
|
||||
"types": ["node"]
|
||||
"types": ["node", "vitest/globals"]
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"include": ["src/**/*", "test/**/*"],
|
||||
"exclude": ["node_modules", "dist", "dist-electron"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"types": ["node", "vitest/globals"]
|
||||
},
|
||||
"include": ["test/**/*", "src/**/*"]
|
||||
}
|
||||
Loading…
Reference in a new issue