Skip to content

Run unit test HelloWorld failed #2128

@smoothdvd

Description

@smoothdvd

Version

3.0.0-rc.12

Node and OS info

Node 10.8.0 / yarn 1.9.4 / macOS 10.13.6

Steps to reproduce

  1. Create new project with Mocha Chai
  2. yarn run test:unit

What is expected?

Pass unit test

What is actually happening?

WEBPACK Failed to compile with 1 error(s)

Error in ./src/components/HelloWorld.vue

Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Super expression must either be null or a function
at /Users/alexgao/Dev/vue-webpack/node_modules/prettier/index.js:32893:5
at /Users/alexgao/Dev/vue-webpack/node_modules/prettier/index.js:32913:4

ERROR mocha-webpack exited with code 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions