vsergiu93
vsergiu93
NNuxt
Created by vsergiu93 on 3/31/2024 in #❓・help
Code coverage and .global.vue components
I started writing unit tests for my components, and I also want to generate code coverage reports. I managed to set up everything (Nuxt test utils make everything nice and easy, thanks Nuxt team!). I'm able to run the tests with --coverage and get the report. The only problem seems to be that the coverage says that all my global components are 100% covered. I'm wondering if someone else is dealing with this or dealt and found some solutions. Thanks
5 replies