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

Cypress issue in 0.12.0 #68

Closed
michalsnik opened this issue Feb 6, 2019 · 4 comments
Closed

Cypress issue in 0.12.0 #68

michalsnik opened this issue Feb 6, 2019 · 4 comments

Comments

@michalsnik
Copy link

Hey Damian!

I just installed 0.12.0 and everything works fine, except Cypress in headless mode. The error I'm getting is:

Uncaught SyntaxError: Unexpected token ...
This error originated from your application code, not from Cypress.
When Cypress detects uncaught errors originating from your application it will automatically fail the current test.
This behavior is configurable, and you can choose to turn this off by listening to the 'uncaught:exception' event.
https://on.cypress.io/uncaught-exception-from-application

Downgrading to 0.11.0 seems to fix the problem. So it looks like the code generated by the loader or one of its dependencies produces Object rest spread operator that might not work in headless mode without extra transpilation.

@appinteractive
Copy link

I have the exact same issue!

@sotaan
Copy link

sotaan commented Feb 16, 2019

Me too using vue cli 3 + cypress plugin

@grount
Copy link

grount commented May 27, 2019

Any update on this?

@honzabilek4
Copy link

I believe it's the same issue as here #76, cause the code in one of it's dependencies doesn't get transpiled and thus doesn't work in some browsers.

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

6 participants