Skip to content

Mocha Tests Throwing Exceptions Immediately After Project Creation When Manually Selecting Features #3668

Closed
@derek-baker

Description

@derek-baker

Version

3.5.1

Reproduction link

https://github.com/derek-baker/super-duper-guacamole

Environment info

System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
  Binaries:
    Node: 10.15.1 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

npm run test:unit

What is expected?

Out of box vue-cli config produces a unit test that runs without an exception

What is actually happening?

WEBPACK Compiled successfully in 7321ms

MOCHA Testing...

RUNTIME EXCEPTION Exception occurred while loading your tests

ReferenceError: performance is not defined
at Module../node_modules/vue/dist/vue.runtime.esm.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs team reproWe acknowledged your report and will soon try to reproduce it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions