You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement test coverage using test-runner in a React/Vite project. I used the build configuration recommended in the docs, which works for storybook build --test. However, I started seeing issues when running builds without the --test flag.
After some debugging, I found that including the build: { test: { disabledAddons } } property seems to affect non-test builds. Specifically, when '@storybook/addon-essentials/docs' is present in the disabledAddons array, the plugin storybook:mdx-plugin doesn't load. I confirmed this using DEBUG=vite:config.
Describe the bug
I'm trying to implement test coverage using test-runner in a React/Vite project. I used the build configuration recommended in the docs, which works for
storybook build --test
. However, I started seeing issues when running builds without the--test
flag.After some debugging, I found that including the
build: { test: { disabledAddons } }
property seems to affect non-test builds. Specifically, when'@storybook/addon-essentials/docs'
is present in thedisabledAddons
array, the pluginstorybook:mdx-plugin
doesn't load. I confirmed this usingDEBUG=vite:config
.To Reproduce
https://stackblitz.com/edit/github-mmquq7-tztnhr?file=.storybook%2Fmain.ts
System
Additional context
No response
The text was updated successfully, but these errors were encountered: