diff --git a/.gitignore b/.gitignore index 8f9eda7..29ee931 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ playwright/.cache/ # Build Outputs .next/ apps/www/next-env.d.ts +apps/www/public/r/ out/ build/ dist/ diff --git a/packages/ui/vitest.config.ts b/packages/ui/vitest.config.ts index 31259dc..44f89c8 100644 --- a/packages/ui/vitest.config.ts +++ b/packages/ui/vitest.config.ts @@ -1,8 +1,11 @@ -import { defineConfig } from 'vitest/config'; +import { reactConfig } from '@seaguntech/vitest-config/react'; +import { defineConfig, mergeConfig } from 'vitest/config'; -export default defineConfig({ - test: { - environment: 'jsdom', - include: ['tests/**/*.{test,spec}.{ts,tsx}'], - }, -}); +export default mergeConfig( + reactConfig, + defineConfig({ + test: { + include: ['tests/**/*.{test,spec}.{ts,tsx}'], + }, + }), +);