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

Test Coverage view not visible after running with coverage #513

Open
4 tasks done
aniketicloud opened this issue Oct 25, 2024 · 0 comments
Open
4 tasks done

Test Coverage view not visible after running with coverage #513

aniketicloud opened this issue Oct 25, 2024 · 0 comments

Comments

@aniketicloud
Copy link

Describe the bug

When I run the tests with code coverage, the tests run and passes. Only once I saw the Test Coverage view tab. At this time, I could see the uncovered lines when I open the file and all that is explained in https://code.visualstudio.com/docs/editor/testing#_test-coverage. Now, after restart, I cannot see the code coverage of files with help of extension. Once, tests run with code coverage, but show incorrect results.
Screenshot 2024-10-25 230857

Attaching the repository:
https://github.com/aniketicloud/playwright-react-18-vite-ts/tree/feature/FM-65-poc-mui-vitest-code-coverage

Reproduction

  • Install React, Vite, React testing library, Vitest and vitest extension in VS Code
  • run tests with vitest vs code extension.

Output

Show the Test Coverage view.

Version

1.6.1

Validations

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

No branches or pull requests

1 participant