Closed
Description
Version
3.0.0-beta.6
Reproduction link
https://github.com/1e3oss/vue-cli-unit-mocha-issue
Steps to reproduce
Create a new vue-cli app with "vue create", then select default.
Install the the mocha plugin as stated in documentation :
(https://github.com/vuejs/vue-cli/tree/v3.0.0-beta.6/packages/%40vue/cli-plugin-unit-mocha)
npm install -D @vue/cli-plugin-unit-mocha
vue invoke unit-mocha
Works correctly but after invoking "src/assets/logo.png" and "public/favicon.ico"
are modified to undisplayable/scrambled image. A simple git checkout return them to previous state.
The github repo just holds step by step commits of the procedure above.
What is expected?
Provide basic configuration and installation of mocha testing in existing vue-cli project
What is actually happening?
That AND modifying src/assets/logo.png and public/favicon.ico
Metadata
Metadata
Assignees
Labels
No labels