{"action":"closed","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/545","repository_url":"https://api.github.com/repos/sindresorhus/ava","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/545/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/545/events","html_url":"https://github.com/sindresorhus/ava/issues/545","id":132855594,"number":545,"title":"afterEach hook does not run after tests that fail","user":{"login":"KevinMarkVI","id":9161337,"avatar_url":"https://avatars.githubusercontent.com/u/9161337?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinMarkVI","html_url":"https://github.com/KevinMarkVI","followers_url":"https://api.github.com/users/KevinMarkVI/followers","following_url":"https://api.github.com/users/KevinMarkVI/following{/other_user}","gists_url":"https://api.github.com/users/KevinMarkVI/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinMarkVI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinMarkVI/subscriptions","organizations_url":"https://api.github.com/users/KevinMarkVI/orgs","repos_url":"https://api.github.com/users/KevinMarkVI/repos","events_url":"https://api.github.com/users/KevinMarkVI/events{/privacy}","received_events_url":"https://api.github.com/users/KevinMarkVI/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-11T00:11:32Z","updated_at":"2016-02-11T04:42:14Z","closed_at":"2016-02-11T04:42:14Z","body":"Built in parallelism lends itself beautifully to using cloud based selenium grids such as Sauce Labs. In order for tests to run successfully, it is necessary for the afterEach hook to be executed whether the test passes or fails, mostly to quit the selenium webdriver. Any help would be much appreciated."}}