{"action":"created","issue":{"url":"https://api.github.com/repos/substack/tape/issues/175","labels_url":"https://api.github.com/repos/substack/tape/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/substack/tape/issues/175/comments","events_url":"https://api.github.com/repos/substack/tape/issues/175/events","html_url":"https://github.com/substack/tape/issues/175","id":100974077,"number":175,"title":"Emit event when all tests are done","user":{"login":"tsironis","id":782448,"avatar_url":"https://avatars.githubusercontent.com/u/782448?v=3","gravatar_id":"","url":"https://api.github.com/users/tsironis","html_url":"https://github.com/tsironis","followers_url":"https://api.github.com/users/tsironis/followers","following_url":"https://api.github.com/users/tsironis/following{/other_user}","gists_url":"https://api.github.com/users/tsironis/gists{/gist_id}","starred_url":"https://api.github.com/users/tsironis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsironis/subscriptions","organizations_url":"https://api.github.com/users/tsironis/orgs","repos_url":"https://api.github.com/users/tsironis/repos","events_url":"https://api.github.com/users/tsironis/events{/privacy}","received_events_url":"https://api.github.com/users/tsironis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-08-14T09:33:28Z","updated_at":"2015-12-24T04:25:04Z","closed_at":null,"body":"I've been trying to run a mock API server that I wrote and use it with tape, but it seems that when the mock API server is running, ```tape``` cannot exit. Although I get the usual message,\r\n\r\n```\r\n1..39\r\n# tests 39\r\n# pass  39\r\n\r\n# ok\r\n```\r\nthe suite never really ends.\r\n\r\nIs there a way to know when all tests are done? I've read the docs and couldn't find anything relevant."},"comment":{"url":"https://api.github.com/repos/substack/tape/issues/comments/167039645","html_url":"https://github.com/substack/tape/issues/175#issuecomment-167039645","issue_url":"https://api.github.com/repos/substack/tape/issues/175","id":167039645,"user":{"login":"jbcpollak","id":188558,"avatar_url":"https://avatars.githubusercontent.com/u/188558?v=3","gravatar_id":"","url":"https://api.github.com/users/jbcpollak","html_url":"https://github.com/jbcpollak","followers_url":"https://api.github.com/users/jbcpollak/followers","following_url":"https://api.github.com/users/jbcpollak/following{/other_user}","gists_url":"https://api.github.com/users/jbcpollak/gists{/gist_id}","starred_url":"https://api.github.com/users/jbcpollak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbcpollak/subscriptions","organizations_url":"https://api.github.com/users/jbcpollak/orgs","repos_url":"https://api.github.com/users/jbcpollak/repos","events_url":"https://api.github.com/users/jbcpollak/events{/privacy}","received_events_url":"https://api.github.com/users/jbcpollak/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T04:25:04Z","updated_at":"2015-12-24T04:25:04Z","body":"+1: I'm writing a custom test runner that seems to be working perfectly, except it exits before any tests are run because the tests are asynchronous. I'm writing the custom running so I can configure and maintain output formatter and output stream (and other resources) inside JS code."}}