diff --git a/vite.config.ts b/vite.config.ts index 671d485..c2b94c3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -45,6 +45,10 @@ export default defineConfig((env) => { mockClear: true, environment: "jsdom", setupFiles: "./src/setupTests.ts", + include: [ + "src/**/*.{test,spec}.?(c|m)[jt]s?(x)", + "src/*.{test,spec}.?(c|m)[jt]s?(x)", + ], }, }; });