Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook test coverage #33

Open
sw-tracker opened this issue Mar 19, 2023 · 1 comment
Open

Storybook test coverage #33

sw-tracker opened this issue Mar 19, 2023 · 1 comment

Comments

@sw-tracker
Copy link

Hi there,

You extracted storybook into a separate folder (which I am also trying to do). I have it fully working except for the coverage add-on. Were you able to get that working? It was working for me if storybook is in the same package.json as the app, but not if it is extracted.

Any help would be greatly appreciated.

Thanks!

@darekkay
Copy link
Owner

Hello, I'm not using the plugin, so I can't comment on that. However, I'm playing with a migration to Storybook Vite from time to time, and the last time I've looked several weeks ago the separate folder was also a blocker. I find the current separation important due to the amount of additional dependencies that are being installed, especially around webpack. Developers who are not interested in Storybook benefit from fewer dependencies = smaller node_modules and faster installation time. However, with Vite being used for both the app and Storybook, I might reconsider and move the Storybook folder back into the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants