Discuss if we need the script for vitest run --coverage
on frontend and implement solution
#1027
Labels
code quality
question
Further information is requested
research
possibility and viability of features
Problem
We currently have a script that checks the coverage of our tests for vitest on the frontend that runs with the script
yarn test:pinia:coverage
. We are not sure how helpful this is as we use Cypress within ourVue
files for E2E testing. Is it worth keeping? Is it worth updating configs for this or the script to ignore any files ending with.vue
so we can still see the test coverage with pinia and utility files.Success
The necessity of this script is researched and the solution is implemented.
Requirements
vitest run --coverage
does in detail and how accurate or helpful it actually is..vue
files or to remove the script completely.vue
files, with quality documentation and support for the decision.Implementation notes
Here are the Vitest Docs for coverage
The text was updated successfully, but these errors were encountered: