File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import path from "node:path" ;
22import { fileURLToPath } from "node:url" ;
33
4- import storybookTest from "@storybook/addon-vitest/vitest-plugin" ;
4+ import { storybookTest } from "@storybook/addon-vitest/vitest-plugin" ;
55import { defineConfig } from "vitest/config" ;
66
77const dirname = typeof __dirname !== "undefined" ? __dirname : path . dirname ( fileURLToPath ( import . meta. url ) ) ;
@@ -11,7 +11,7 @@ export default defineConfig({
1111 test : {
1212 projects : [
1313 {
14- extends : true ,
14+ extends : "vite.config.mts" ,
1515 plugins : [
1616 // The plugin will run tests for the stories defined in your Storybook config
1717 // See options at: https://storybook.js.org/docs/next/writing-tests/integrations/vitest-addon#storybooktest
@@ -25,7 +25,7 @@ export default defineConfig({
2525 name : "chromium" ,
2626 provider : "playwright" ,
2727 } ,
28- setupFiles : [ "SETUP_FILE " ] ,
28+ setupFiles : [ ".storybook/vitest.setup.ts " ] ,
2929 } ,
3030 } ,
3131 ] ,
You can’t perform that action at this time.
0 commit comments