diff --git a/tsconfig.json b/tsconfig.json index 8db2cc1f..b084fba4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { // see https://www.typescriptlang.org/tsconfig to better understand tsconfigs "include": ["src", "./vite.config.ts"], + "exclude": ["**/testUtils.ts"], "compilerOptions": { "baseUrl": "./src", "module": "esnext", diff --git a/vitest.config.ts b/vitest.config.ts index 37baeb1b..f79f02ec 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -3,7 +3,6 @@ import { defineConfig } from 'vitest/config' export default defineConfig({ test: { - globals: true, setupFiles: ['./vitest.setup.ts'], environment: 'jsdom', server: {