{"action":"created","issue":{"url":"https://api.github.com/repos/processing-js/processing-js/issues/228","repository_url":"https://api.github.com/repos/processing-js/processing-js","labels_url":"https://api.github.com/repos/processing-js/processing-js/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/processing-js/processing-js/issues/228/comments","events_url":"https://api.github.com/repos/processing-js/processing-js/issues/228/events","html_url":"https://github.com/processing-js/processing-js/issues/228","id":134490278,"number":228,"title":"test.js error","user":{"login":"kaizensoze","id":218869,"avatar_url":"https://avatars.githubusercontent.com/u/218869?v=3","gravatar_id":"","url":"https://api.github.com/users/kaizensoze","html_url":"https://github.com/kaizensoze","followers_url":"https://api.github.com/users/kaizensoze/followers","following_url":"https://api.github.com/users/kaizensoze/following{/other_user}","gists_url":"https://api.github.com/users/kaizensoze/gists{/gist_id}","starred_url":"https://api.github.com/users/kaizensoze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaizensoze/subscriptions","organizations_url":"https://api.github.com/users/kaizensoze/orgs","repos_url":"https://api.github.com/users/kaizensoze/repos","events_url":"https://api.github.com/users/kaizensoze/events{/privacy}","received_events_url":"https://api.github.com/users/kaizensoze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-18T06:03:21Z","updated_at":"2016-02-18T19:01:57Z","closed_at":null,"body":"```bash\r\n$ node test\r\nrunning tests...\r\n[...]\r\n209 tests passed, 0 tests failed.\r\n\r\n\r\nall tests pass: building processing.js...\r\nbuild finished.\r\nminifying to processing.min.js\r\nfinished\r\n\r\nStarting web server for reference testing...\r\nTest server will terminate once all tests have run.\r\n/Users/joegallo/dev/processing-js/test.js:133\r\n                counts = lines[len-2].split(\".\").map(function(v) { return parseInt(v, 10); }),\r\n                                     ^\r\n\r\nTypeError: Cannot read property 'split' of undefined\r\n    at /Users/joegallo/dev/processing-js/test.js:133:38\r\n    at ChildProcess.exithandler (child_process.js:220:5)\r\n    at emitTwo (events.js:100:13)\r\n    at ChildProcess.emit (events.js:185:7)\r\n    at maybeClose (internal/child_process.js:827:16)\r\n    at Socket.<anonymous> (internal/child_process.js:319:11)\r\n    at emitOne (events.js:90:13)\r\n    at Socket.emit (events.js:182:7)\r\n    at Pipe._onclose (net.js:471:12)\r\n```\r\n\r\nHowever manually running `node server` in one tab and `node test` in another seems to do the trick as far as getting the browser tests to run; although, with a fresh checkout, I get \r\n\r\n`Tests Completed - 33 failed, 41 known failures, 344 passed, 418 total.` \r\n\r\nAlso `node test` doesn't seem to generate `process.js` or `processing.min.js`, requiring `browserify build.js -o processing.js` and `node minify` to be run."},"comment":{"url":"https://api.github.com/repos/processing-js/processing-js/issues/comments/185861817","html_url":"https://github.com/processing-js/processing-js/issues/228#issuecomment-185861817","issue_url":"https://api.github.com/repos/processing-js/processing-js/issues/228","id":185861817,"user":{"login":"Pomax","id":177243,"avatar_url":"https://avatars.githubusercontent.com/u/177243?v=3","gravatar_id":"","url":"https://api.github.com/users/Pomax","html_url":"https://github.com/Pomax","followers_url":"https://api.github.com/users/Pomax/followers","following_url":"https://api.github.com/users/Pomax/following{/other_user}","gists_url":"https://api.github.com/users/Pomax/gists{/gist_id}","starred_url":"https://api.github.com/users/Pomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pomax/subscriptions","organizations_url":"https://api.github.com/users/Pomax/orgs","repos_url":"https://api.github.com/users/Pomax/repos","events_url":"https://api.github.com/users/Pomax/events{/privacy}","received_events_url":"https://api.github.com/users/Pomax/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T19:01:57Z","updated_at":"2016-02-18T19:01:57Z","body":"that line is about grabbing the output from stdout which will have been generated during the run, which OS/shell combination is this happening for?"}}