{"action":"created","issue":{"url":"https://api.github.com/repos/azer/prova/issues/66","labels_url":"https://api.github.com/repos/azer/prova/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/azer/prova/issues/66/comments","events_url":"https://api.github.com/repos/azer/prova/issues/66/events","html_url":"https://github.com/azer/prova/issues/66","id":97448712,"number":66,"title":"Report about throw exception in browser","user":{"login":"Trufi","id":3996552,"avatar_url":"https://avatars.githubusercontent.com/u/3996552?v=3","gravatar_id":"","url":"https://api.github.com/users/Trufi","html_url":"https://github.com/Trufi","followers_url":"https://api.github.com/users/Trufi/followers","following_url":"https://api.github.com/users/Trufi/following{/other_user}","gists_url":"https://api.github.com/users/Trufi/gists{/gist_id}","starred_url":"https://api.github.com/users/Trufi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trufi/subscriptions","organizations_url":"https://api.github.com/users/Trufi/orgs","repos_url":"https://api.github.com/users/Trufi/repos","events_url":"https://api.github.com/users/Trufi/events{/privacy}","received_events_url":"https://api.github.com/users/Trufi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-27T12:10:15Z","updated_at":"2015-07-27T17:26:53Z","closed_at":null,"body":"If we run test in browser and throw exception:\r\n```javascript\r\nvar test = require('prova');\r\n\r\ntest('smth', function(t) {\r\n    throw new Error();\r\n    t.end();\r\n});\r\n```\r\nTest case does not end and error appears only in browser console, but not in command line."},"comment":{"url":"https://api.github.com/repos/azer/prova/issues/comments/125279973","html_url":"https://github.com/azer/prova/issues/66#issuecomment-125279973","issue_url":"https://api.github.com/repos/azer/prova/issues/66","id":125279973,"user":{"login":"azer","id":13072,"avatar_url":"https://avatars.githubusercontent.com/u/13072?v=3","gravatar_id":"","url":"https://api.github.com/users/azer","html_url":"https://github.com/azer","followers_url":"https://api.github.com/users/azer/followers","following_url":"https://api.github.com/users/azer/following{/other_user}","gists_url":"https://api.github.com/users/azer/gists{/gist_id}","starred_url":"https://api.github.com/users/azer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azer/subscriptions","organizations_url":"https://api.github.com/users/azer/orgs","repos_url":"https://api.github.com/users/azer/repos","events_url":"https://api.github.com/users/azer/events{/privacy}","received_events_url":"https://api.github.com/users/azer/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T17:26:53Z","updated_at":"2015-07-27T17:26:53Z","body":"this behavior comes from Tape. I guess prova needs to listen for errors and show it to user. does window.onerror work on all browsers ? "}}