{"action":"created","issue":{"url":"https://api.github.com/repos/gotwarlost/istanbul/issues/406","labels_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/406/comments","events_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/406/events","html_url":"https://github.com/gotwarlost/istanbul/issues/406","id":95265120,"number":406,"title":"Inscrutable errors when running with jasmine-node","user":{"login":"danascheider","id":5115928,"avatar_url":"https://avatars.githubusercontent.com/u/5115928?v=3","gravatar_id":"","url":"https://api.github.com/users/danascheider","html_url":"https://github.com/danascheider","followers_url":"https://api.github.com/users/danascheider/followers","following_url":"https://api.github.com/users/danascheider/following{/other_user}","gists_url":"https://api.github.com/users/danascheider/gists{/gist_id}","starred_url":"https://api.github.com/users/danascheider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danascheider/subscriptions","organizations_url":"https://api.github.com/users/danascheider/orgs","repos_url":"https://api.github.com/users/danascheider/repos","events_url":"https://api.github.com/users/danascheider/events{/privacy}","received_events_url":"https://api.github.com/users/danascheider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-15T18:55:58Z","updated_at":"2015-09-22T12:41:34Z","closed_at":null,"body":"I'm using Istanbul with Jasmine-Node, using the command `npm test`, which is configured to call<pre><code>istanbul cover  --include-all-sources jasmine-node -- --forceexit spec</code></pre>The test suite runs, but at the end, it crashes with this error:<pre><code>/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:5446\r\n            throw e;\r\n                  ^\r\nError: Line 19: Unexpected token ,\r\n    at createError (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:2327:21)\r\n    at unexpectedTokenError (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:2402:13)\r\n    at throwUnexpectedToken (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:2407:15)\r\n    at parsePrimaryExpression (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:3184:13)\r\n    at inheritCoverGrammar (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:2583:18)\r\n    at parseLeftHandSideExpressionAllowCall (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:3275:20)\r\n    at inheritCoverGrammar (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:2583:18)\r\n    at parsePostfixExpression (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:3349:16)\r\n    at parseUnaryExpression (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:3409:20)\r\n    at inheritCoverGrammar (/var/www/node_modules/istanbul/node_modules/esprima/esprima.js:2583:18)\r\nnpm ERR! Test failed.  See above for more details.</code></pre>I am running Debian 7 with iojs 2.3.4 and jasmine-node 1.14.3.\r\n\r\nI don't know if this is a bug or if I'm just doing something wrong, but thought I'd let you know it's happening. Unfortunately, my JavaScript capabilities are not at a point where I could make a PR but I thought you'd like to know."},"comment":{"url":"https://api.github.com/repos/gotwarlost/istanbul/issues/comments/142276741","html_url":"https://github.com/gotwarlost/istanbul/issues/406#issuecomment-142276741","issue_url":"https://api.github.com/repos/gotwarlost/istanbul/issues/406","id":142276741,"user":{"login":"davglass","id":32551,"avatar_url":"https://avatars.githubusercontent.com/u/32551?v=3","gravatar_id":"","url":"https://api.github.com/users/davglass","html_url":"https://github.com/davglass","followers_url":"https://api.github.com/users/davglass/followers","following_url":"https://api.github.com/users/davglass/following{/other_user}","gists_url":"https://api.github.com/users/davglass/gists{/gist_id}","starred_url":"https://api.github.com/users/davglass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davglass/subscriptions","organizations_url":"https://api.github.com/users/davglass/orgs","repos_url":"https://api.github.com/users/davglass/repos","events_url":"https://api.github.com/users/davglass/events{/privacy}","received_events_url":"https://api.github.com/users/davglass/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T12:41:34Z","updated_at":"2015-09-22T12:41:34Z","body":"Can someone please attach some code that makes it generate this error? It's very hard to debug what we can't see :)"}}