https://cypress.io logo
Heyo 🙂 I’m building myself a vue 3 + vite app + t...
# e2e-testing
n
Heyo 🙂 I’m building myself a vue 3 + vite app + typescript (I know, very fancy 😄 ) I have been playing around with code coverage for that app and I have been successful with instrumenting my files. However, it seems there’s something about the instrumentation I’m not doing quite right. I have
.vue
components which look a little weird in the coverage report. it seems that the template and style is also getting instrumented, which (I guess) is not the thing I want. the
babel.config.js
I’m using has a configuration like this:
Copy code
js
module.exports = {
  presets: [
    '@vue/app'
  ],
  plugins: [
    ['babel-plugin-istanbul', {
      extension: ['.ts', '.vue']
    }]
  ]
}
If you have any idea what might be wrong about this, I’d be super happy if you help me. Have an awesome day!