Skip to content

Instantly share code, notes, and snippets.

@othiym23
Created August 31, 2011 23:55
Show Gist options
  • Save othiym23/1185077 to your computer and use it in GitHub Desktop.
Save othiym23/1185077 to your computer and use it in GitHub Desktop.
errorrrz
Core can proxy handles Unicode A GET to /Me/testUnicode/test
✗ should respond with 200
» expected 200,
got 404 (==) // api-easy.js:233
✗ returned unicode JSON should be parsable
Error: Could not parse json correctly: Cannot GET /test
at Object.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/tests/locker-core-api-test.js:174:31)
at [object Object].<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/api-easy/lib/api-easy.js:225:16)
at runTest (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows.js:93:26)
at EventEmitter.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows.js:71:9)
at EventEmitter.emit (events.js:81:20)
at /Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows/context.js:32:52
at [object Object].callback (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/vows/lib/vows/context.js:46:29)
at IncomingMessage.<anonymous> (/Users/ogd/Documents/projects/singly/locker-mainline-git/node_modules/request/main.js:260:21)
at IncomingMessage.emit (events.js:81:20)
at HTTPParser.onMessageComplete (http.js:133:23)
Core can proxy passes cookies through A GET to /Me/testCookies/test
✓ should respond with 200
✓ should pass a set-cookie header
Synclet testSynclet starting for testSynclet-1
Synclet testSynclet finished for testSynclet-1
Core can spawn a valid service A GET to /Me/spawn-valid
✗ should respond with 200
» expected null, got {
stack: 'Error: socket hang up\n at Socket.<anonymous> (http.js:1290:45)\n at Socket.emit (events.js:64:17)\n at Array.0 (net.js:837:12)\n at EventEmitter._tickCallback (node.js:126:26)',
arguments: undefined,
type: undefined,
message: 'socket hang up'
} // api-easy.js:232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment