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

Uncaught SyntaxError: Unexpected token #1066

Closed
devnatash opened this issue Dec 13, 2017 · 1 comment
Closed

Uncaught SyntaxError: Unexpected token #1066

devnatash opened this issue Dec 13, 2017 · 1 comment

Comments

@devnatash
Copy link

  • Operating System:
  • Cypress Version:
  • Browser Version:

Is this a Feature or Bug?

Current behavior:

Desired behavior:

How to reproduce:

Test code:

Additional Info (images, stack traces, etc)

@karuhanga
Copy link

If someone else runs into this in the future, mine was down to trying to load a non existent JS file(from my index page).

Adding this to the test file got me on the right track;

Cypress.on('uncaught:exception', (err, runnable) => {
  console.log(err);
  return false;
})

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