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
When @vue/cli asks for test tools, choose Cypress for e2e and Mocha Chai for unit tests.
yarn test
What is expected?
Runs test/unit/HelloWorld.spec.js
What is actually happening?
Runs test/e2e/specs/test.js
If path to unit tests folder is provided in package.json ( scripts / test : vue-cli-service test test/unit ), script runs as expected.
Additionally script complains for module.exports (probably mixed with import ).
The text was updated successfully, but these errors were encountered:
Version
3.0.0-alpha.8
Reproduction link
https://github.com/natasher/vue-cli-test/
Steps to reproduce
Terminal:
What is expected?
Runs test/unit/HelloWorld.spec.js
What is actually happening?
Runs test/e2e/specs/test.js
If path to unit tests folder is provided in package.json ( scripts / test : vue-cli-service test test/unit ), script runs as expected.
Additionally script complains for module.exports (probably mixed with import ).
The text was updated successfully, but these errors were encountered: