refactor: merge tsconfig.test.json into tsconfig.json

This commit is contained in:
iliya 2026-02-27 21:12:08 +02:00
parent 1c629436eb
commit fa48c95dc5
3 changed files with 3 additions and 10 deletions

View file

@ -338,7 +338,7 @@ export default defineConfig([
}, },
parserOptions: { parserOptions: {
projectService: false, projectService: false,
project: './tsconfig.test.json', project: './tsconfig.json',
}, },
}, },
rules: { rules: {

View file

@ -18,8 +18,8 @@
"@preload/*": ["./src/preload/*"], "@preload/*": ["./src/preload/*"],
"@shared/*": ["./src/shared/*"] "@shared/*": ["./src/shared/*"]
}, },
"types": ["node"] "types": ["node", "vitest/globals"]
}, },
"include": ["src/**/*"], "include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist", "dist-electron"] "exclude": ["node_modules", "dist", "dist-electron"]
} }

View file

@ -1,7 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"types": ["node", "vitest/globals"]
},
"include": ["test/**/*", "src/**/*"]
}