You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
clone the repo, checkout the branch feature/coverage-issue
npm i
dist should already be populated (npm build:es otherwise)
npm run cypress:open (and then run the test)
What is expected?
The coverage step should not fail and a coverage report should be collected
What is actually happening?
The coverage step (with istanbul) is failing
Looks like it's failing because the html is trying to create files with invalid names.
This is because it tries to create the files for the Vue component with the rollup-plugin-vue queryparams
e.g.
file named TodoList.vue?rollup-plugin-vue=script.js
Looks like in the dist the bundled contains code like this
I think istanbul then is trying to create files with the name contained in "path" and thus it fails.
I opened an issue to babel-plugin-istanbul here because i though it was the babel plugin to do this but they say it's not there.
The text was updated successfully, but these errors were encountered:
Version
5.0.0
Reproduction link
https://github.com/albertodeago/vue-webcomponent/tree/feature/coverage-issue
Steps to reproduce
What is expected?
The coverage step should not fail and a coverage report should be collected
What is actually happening?
The coverage step (with istanbul) is failing
Looks like it's failing because the html is trying to create files with invalid names.
This is because it tries to create the files for the Vue component with the rollup-plugin-vue queryparams
e.g.
file named
TodoList.vue?rollup-plugin-vue=script.js
Looks like in the dist the bundled contains code like this
I think istanbul then is trying to create files with the name contained in "path" and thus it fails.
I opened an issue to babel-plugin-istanbul here because i though it was the babel plugin to do this but they say it's not there.
The text was updated successfully, but these errors were encountered: