-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Mocha Tests Throwing Exceptions Immediately After Project Creation When Manually Selecting Features #3668
Comments
In regards to the Environment Info, I'm not sure why 'vue info' doesn't find @vue/cli, as it's definitely installed globally, and %appdata%\npm was added to my path. |
If, in addition to the options above, I opt to include Babel as a feature, and also use Babel alongside TypeScript for auto-detected polyfills, the unit-test runs as expected. Example of working config is below. { |
Version
3.5.1
Reproduction link
https://github.com/derek-baker/super-duper-guacamole
Environment info
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
The text was updated successfully, but these errors were encountered: