Przeglądaj źródła

fix vitest config

Shun Miyazawa 2 lat temu
rodzic
commit
459f7cf114

+ 1 - 1
apps/app/vitest.config.components.ts

@@ -10,7 +10,7 @@ export default defineConfig({
     globals: true,
     environment: 'happy-dom',
     include: [
-      '**/*.test.{tsx,jsx}',
+      '**/*.spec.{tsx,jsx}',
     ],
   },
 });

+ 1 - 1
apps/app/vitest.config.ts

@@ -8,7 +8,7 @@ export default defineConfig({
   test: {
     environment: 'node',
     exclude: [
-      '**/test/**', '**/*.test.{tsx,jsx}',
+      '**/test/**', '**/*.spec.{tsx,jsx}',
     ],
     clearMocks: true,
     globals: true,