-
Notifications
You must be signed in to change notification settings - Fork 81
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
ERROR: Cannot decode JSON from PhantomJS runner: 710: unexpected token at '{"error":"Timeout requesting Jasmine test runner!"} ' #5
Comments
I figured out why it's timing out: I recently added a test for the creation of a 3rd-party object that requires the pre-existence of the DOM object it attaches to. I got this to pass under That |
What version are you using? The problem is that the timeout occurs in the middle of sending the result back. Prior to version 0.7.2 there was a timeout bug that restricted the overall waiting time (request specs, running specs and return result) to 1 second. This has been resolved and an additional timeout option has been added. The default is 10 seconds. |
My Gemfile.lock says I'm using I found the This test reproduces the problem: https://gist.github.com/1322112 I'm sure the |
I was able to get rid of the timeout problem by changing the When I ran the test in my browser ( |
You cannot use So you can't use |
Ah. Thanks! |
I've gotten this error several times today. Here are a couple examples of the full error message: https://gist.github.com/1321074
It's complaining because it's getting two JSON objects when it's expecting one.
(I haven't figured out why it's sending both back. That may be a separate issue.)
The text was updated successfully, but these errors were encountered: