{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/qunit/issues/977","repository_url":"https://api.github.com/repos/jquery/qunit","labels_url":"https://api.github.com/repos/jquery/qunit/issues/977/labels{/name}","comments_url":"https://api.github.com/repos/jquery/qunit/issues/977/comments","events_url":"https://api.github.com/repos/jquery/qunit/issues/977/events","html_url":"https://github.com/jquery/qunit/issues/977","id":143743721,"number":977,"title":"Allow multiple before/beforeEach/after/afterEach","user":{"login":"gibson042","id":1199584,"avatar_url":"https://avatars.githubusercontent.com/u/1199584?v=3","gravatar_id":"","url":"https://api.github.com/users/gibson042","html_url":"https://github.com/gibson042","followers_url":"https://api.github.com/users/gibson042/followers","following_url":"https://api.github.com/users/gibson042/following{/other_user}","gists_url":"https://api.github.com/users/gibson042/gists{/gist_id}","starred_url":"https://api.github.com/users/gibson042/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibson042/subscriptions","organizations_url":"https://api.github.com/users/gibson042/orgs","repos_url":"https://api.github.com/users/gibson042/repos","events_url":"https://api.github.com/users/gibson042/events{/privacy}","received_events_url":"https://api.github.com/users/gibson042/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-03-26T19:52:37Z","updated_at":"2016-08-14T16:28:32Z","closed_at":null,"body":"It's inconsistent that every callback passed to `QUnit.test` is preserved, but `beforeEach` and `afterEach` overwrite preexisting values: https://jsfiddle.net/k9af94x7/\r\n\r\nWe should let the module hooks queue just like the tests do.\r\n\r\n**EDIT**: …including `before` and `after`."},"comment":{"url":"https://api.github.com/repos/jquery/qunit/issues/comments/239682657","html_url":"https://github.com/jquery/qunit/issues/977#issuecomment-239682657","issue_url":"https://api.github.com/repos/jquery/qunit/issues/977","id":239682657,"user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars.githubusercontent.com/u/284282?v=3","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T16:28:32Z","updated_at":"2016-08-14T16:28:32Z","body":"Oh, I probably should have clarified, I'm talking about hooks defined at the same level of nesting. My assumption is that all afterEach hooks in the child module are executed before any in the parent module, regardless of whether we use FIFO or LIFO order for hooks declared in the same module. Please let me know if this is not or should not be the case."}}
{"actor":{"display_login":"platinumazure"}}