Skip to content

Instantly share code, notes, and snippets.

@laripk
Created October 28, 2011 11:50
Show Gist options
  • Save laripk/1322112 to your computer and use it in GitHub Desktop.
Save laripk/1322112 to your computer and use it in GitHub Desktop.
guard-jasmine/jasminerice error reproduction
<html>
<style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{ display: none !important;}</style>
</html>
describe "TestMe", ->
it "should test for guard-jasmine error", ->
document.write "<form id='sheetform'><div id='mygrid'></div></form>"
expect(true).toBeTruthy()
Run Jasmine suite at http://localhost:3000/jasmine?spec=TestMe
ERROR: Cannot decode JSON from PhantomJS runner: 710: unexpected token at '{"error":"Timeout requesting Jasmine test runner!"}
'
ERROR: Please report an issue at: https://github.com/netzpirat/guard-jasmine/issues
ERROR: JSON response: {
"passed": true,
"stats": {
"specs": 1,
"failures": 0,
"time": 0.02
},
"suites": [
{
"description": "TestMe",
"passed": true,
"specs": [
{
"description": "should test for guard-jasmine error",
"passed": true
}
],
"suites": []
}
]
}
{"error":"Timeout requesting Jasmine test runner!"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment