Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit test failing #1129

Closed
ghost opened this issue Apr 14, 2018 · 1 comment
Closed

unit test failing #1129

ghost opened this issue Apr 14, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 14, 2018

Version

3.0.0-beta.6

Reproduction link

https://codesandbox.io/s/vue

Steps to reproduce

vue create myproject

Vue CLI v3.0.0-beta.6
? Please pick a preset: full (vue-router, vuex, sass, babel, pwa, eslint, unit-j
est, e2e-nightwatch)

select full

🎉 Successfully created project myproject.
cd myproject

What is expected?

vue-cli-service test passing without error

What is actually happening?

FAIL tests/unit/HelloWorld.spec.js
● Test suite failed to run

  Plugin 0 specified in "/Users/yves/Developments/WIP/VUE.JS-vcli-3-beta/myproject/node_modules/@vue/babel-preset-app/index.js" provided an invalid property of "default" (While processing preset: "..../myproject/node_modules/@vue/babel-preset-app/index.js")
  
    at Plugin.init (node_modules/babel-jest/node_modules/babel-core/lib/transformation/plugin.js:131:13)
        at Array.map (<anonymous>)
        at Array.map (<anonymous>)

Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 10.668s
Ran all test suites.
ERROR jest exited with code 1.
error Command failed with exit code 1.

@LinusBorg
Copy link
Member

Duplicate of #1131

@LinusBorg LinusBorg marked this as a duplicate of #1131 Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant