Closed
Description
Version
3.0.0-beta.15
Reproduction link
https://gitlab.com/kjell/vuecli
Steps to reproduce
Run ui. Create a project. choose feature unit testing and jest.
The result of this process is pushed to the repo https://gitlab.com/kjell/vuecli
To reproduce
git clone https://gitlab.com/kjell/vuecli.git
cd vuecli/
npm install --dev
npm run test:unit
What is expected?
Expect test to pass
What is actually happening?
I get the following error:
Jest encountered an unexpected token
...
Details:
test_cli/tests/unit/HelloWorld.spec.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { shallowMount } from '@vue/test-utils'
^^^^^^
SyntaxError: Unexpected token import
I have tested this with beta 15 and beta 16.
Tested on Ubuntu, node v8.11.1