From afc0f7328cac4d9960f498ab21e1c9abb362456b Mon Sep 17 00:00:00 2001 From: Ame_x Edam Date: Thu, 18 Jul 2024 12:48:21 +0000 Subject: [PATCH] chore: moving the setup file of vitest --- {src/test-utils => .vitest.config}/setup-vitest.ts | 0 vitest.config.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {src/test-utils => .vitest.config}/setup-vitest.ts (100%) diff --git a/src/test-utils/setup-vitest.ts b/.vitest.config/setup-vitest.ts similarity index 100% rename from src/test-utils/setup-vitest.ts rename to .vitest.config/setup-vitest.ts diff --git a/vitest.config.ts b/vitest.config.ts index cef5c75ec..26ce5de6d 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ globals: true, include: ['**/src/**/(*.)+(spec|test).+(ts|tsx|js)'], exclude: [...configDefaults.exclude, '**/sandbox/**', '**/*.case.test.+(ts|tsx|js)'], - setupFiles: ['./src/test-utils/setup-vitest.ts'], + setupFiles: ['./.vitest.config/setup-vitest.ts'], coverage: { enabled: true, provider: 'v8',