karma-runner / karma-phantomjs-launcher

A Karma plugin. Launcher for PhantomJS.
MIT License
281 stars 131 forks source link

tests pass but SyntaxError upon completion #93

Open boneskull opened 8 years ago

boneskull commented 8 years ago
START:
30 12 2015 15:43:47.931:INFO [karma]: Karma v0.13.16 server started at http://localhost:9876/
30 12 2015 15:43:47.951:INFO [launcher]: Starting browser PhantomJS
30 12 2015 15:43:51.123:INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket 4ir6Oq9VSyFmQnDtAAAA with id 83968524
  e2e
    ✔ should send to Loggly

Finished in 0.017 secs / 0.001 secs

SUMMARY:
✔ 1 test completed
PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR
  SyntaxError: Parse error
  at http://localhost:9876/context.html:1

Finished in 0.039 secs / 0.001 secs

Is this a karma-phantomjs-launcher issue? I'm using the following plugins:

Regaddi commented 7 years ago

I have the same problem with PhantomJS 2.1.1