-
Notifications
You must be signed in to change notification settings - Fork 980
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
Add Storybook Vite unit tests #10768
Conversation
…ental flag to the script
…storybook-tests
I was seeing issues with the storybook vite command. It would complain about `default` with imports. I have reverted some of your changes here @dac09. Hopefully this is okay? I didn't have a lot of context around the original changes you made but I have reverted here because it fixes the issue I was seeing. Happy for you to correct me if I am taking us in the wrong direction. I also stole some code from #10768.
I stole that and included it in #10961 |
Co-authored-by: Tobbe Lundberg <tobbe@tlundberg.com>
…storybook-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced the existing storybook webpack smoke tests with the vite ones in #10867 so I removed the additional duplicate copy from this PR.
@arimendelow Let me know if you agree with the changes I've pushed up and then we can merge this in if you're happy.
packages/cli-packages/storybook-vite/src/__tests__/storybookConfigFixtures.test.ts
Outdated
Show resolved
Hide resolved
i was actually wondering about that because i remember you mentioned it in our call — sounds good :) |
Adds: