Quasar Cypress component testing coverage issue #17223
Unanswered
thevladisss
asked this question in
Quasar App Extensions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I am working with @quasar/quasar-app-extension-testing-e2e-cypress, and I have been having problems with setting up coverage for components testing for a little while so far.
az
I have tried to couple of different ways to achieve this, from setting "istanbul" plugin into .babelrc config to tweaking "injectDevServer" to make sure that babel actually has this istanbul plugin and injects
__coverage__
object into the window in Cypress component testing. I do not want to go far lik trying to build my own dev server or completely tweak the webpack confi for dev server, as I fill there should be easier way to do that.According to current docs there is no out-of-box support for coverage in webpack buidls, while for Vite there is.
Found this interesting TODO in source code of dev server
Thankful for any assistance to this regard
Beta Was this translation helpful? Give feedback.
All reactions