-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Vite -> React -> Typescript + SWC] Empty (no, 0, files found) code coverage report #28
Comments
It is related to #17. Addon is not compatible with @vitejs/plugin-react-swc. Any idea how to fix it? |
I have the exact same issue but I am not using @vitejs/plugin-react-swc, I have @vitejs/plugin-react in my package.json |
Checking the |
I have the exact issue. I am using addon-coverage with @storybook/addon-webpack5-compiler-swc. |
Describe the bug
Everything runs smoothly with
pnpm test-storybook
. On the other hand,pnpm test-storybook --coverage
returns an empty coverage report.Steps to reproduce the behavior
pnpm storybook
pnpm test-storybook --coverage
{}
Expected behavior
Show
**/*.tsx
files on the report.Screenshots and/or logs
.storybook/main.ts
package.json
EMPTY Coverage (Console) Report
EMPTY Coverage (File) Report
Environment
pnpm exec playwright install
+pnpm exec playwright install-deps
)The text was updated successfully, but these errors were encountered: