Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Runtime exception: performance is not defined - with v2.6.9 #9698
Steps to reproduce
It is throwing from the vue/dist/vue.js file of the latest version I am currently trying to isolate it, yet it seems connected with the new code added recently. Will add more steps ASAP if you still don't observe it.
What is expected?
no error observed
What is actually happening?
an error is observed
The thing you linked to is an archived and deprecated example. A repro doesn't have to be jsfiddle, it can be an HTML file (or just the contents of it). It also shouldn't include other dependencies like mocha or vue-test-utils (it could be a problem on that package). Cheers.
Thanks for writing back!
Once you run a static analyze on the file and it throws.
added a commit
Mar 14, 2019
referenced this issue
Mar 15, 2019
Sorry for being stupid but where do I add the following line since JSDOM registration is abstracted away in Vue CLI 3 and cli-plugin-unit-mocha (no setup.js)?
Thanks for the help...
@theonlychase I placed it in my main test entry point
Referenced below at