This commit is contained in:
Timo K
2026-05-20 13:26:52 +02:00
parent d37c064df3
commit ddde05c057
3 changed files with 3 additions and 9 deletions

View File

@@ -25,8 +25,6 @@ export default defineConfig((configEnv) =>
},
setupFiles: ["src/vitest.setup.ts"],
environment: "jsdom",
// an example of file based convention,
// you don't have to follow it
include: ["src/**/*.test.ts", "src/**/*.test.tsx"],
},
},
@@ -34,7 +32,7 @@ export default defineConfig((configEnv) =>
plugins: [
storybookTest({
// The location of your Storybook config, main.js|ts
configDir: path.join(dirname, ".storybook"),
configDir: "./.storybook",
}),
...vitePluginsConfig(configEnv).plugins!,
],