vuejs / vue-jest

Jest Vue transformer
MIT License
742 stars 159 forks source link

DISABLE coverage reporting for <template> section #529

Open chaples55 opened 1 year ago

chaples55 commented 1 year ago

We're upgrading our Vue2/Vuetify apps from Vue CLI v4 to v5 (Jest v24 -> v27, vue-jest -> vue2-jest), and the introduction of coverage reporting for the template section has brought our coverage down. We already test the UI thoroughly via Selenium and don't want to build out template tests to get our coverage report back to 100%.

Is there a way to turn off coverage for just the template? It seems like it should be configurable.