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

[Bug]: Weird coverage report #29597

Closed
shilman opened this issue Nov 13, 2024 · 1 comment · Fixed by vitest-dev/vitest#6905
Closed

[Bug]: Weird coverage report #29597

shilman opened this issue Nov 13, 2024 · 1 comment · Fixed by vitest-dev/vitest#6905

Comments

@shilman
Copy link
Member

shilman commented Nov 13, 2024

Describe the bug

Reproduction:

  1. Create empty directory
  2. npx storybook@latest init => React + vite + TS
  3. npx storybook add @storybook/experimental-addon-test
  4. npx vitest --coverage
  5. npx http-server coverage

Coverage contains weird story paths:

Image

Reproduction link

https://github.com/shilman/react-vite-84-coverage-repro

Reproduction steps

No response

System

any

Additional context

No response

@JReinhold
Copy link
Contributor

I've confirmed this is fixed by vitest-dev/vitest#6905 in Vitest v2.2.0-beta.2

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

Successfully merging a pull request may close this issue.

3 participants