Skip to content
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

AVA default unit test: error "performance is not defined" #65

Closed
mpacary opened this issue Mar 19, 2019 · 2 comments
Closed

AVA default unit test: error "performance is not defined" #65

mpacary opened this issue Mar 19, 2019 · 2 comments

Comments

@mpacary
Copy link
Contributor

mpacary commented Mar 19, 2019

Software version

OS: Windows 10
Node: 8.9.4
NPM: 5.6.0
Any other software related to your bug:
quasar - 1.0.0-beta.11
@quasar/quasar-app-extension-testing - 1.0.0-beta.7
@quasar/quasar-app-extension-testing-unit-ava - 1.0.0-beta.6

What did you get as the error?

  × No tests found in test\ava\__tests__\App.spec.js

  1 uncaught exception

  Uncaught exception in test\ava\__tests__\App.spec.js

C:\Users\...\test-project\node_modules\vue\dist\vue.runtime.common.dev.js:4239

  ReferenceError: performance is not defined

What were you expecting?

AVA default test suite run without error

What steps did you take, to get the error?

Fresh new quasar project install (following doc)
quasar ext add @quasar/testing
quasar ext add @quasar/testing-unit-ava
then running quasar run @quasar/testing test -- --unit ava --dev

Note that the error occurs even if App.spec.js file does not contains import { mountQuasar } from '~/test/ava/utils' (=> not sure this is related to #58)

@mpacary
Copy link
Contributor Author

mpacary commented Mar 19, 2019

Looks related to vuejs/vue#9698

@nklayman
Copy link
Contributor

Yep, that's where I got the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants