-
Run
npm test:ui
. It will show code coverage in the terminal. You can change a test or source code to see HMR in action. -
Run
npm report
to view code coverage report in full. Remove "/vitest/" in the url if you are not able to view the result. -
coffee-incomplete
shows incomplete tests with different code coverage percentage -
coffee-complete
shows meaningful tests and good code coverage -
coffee-meaningless
shows meaningless tests that has 100% code coverage
Learn more at https://vitest.dev