{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/139","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/139/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/139/events","html_url":"https://github.com/sindresorhus/ava/issues/139","id":115432522,"number":139,"title":"Context set in beforeEach is not available in tests","user":{"login":"ArtemGovorov","id":979966,"avatar_url":"https://avatars.githubusercontent.com/u/979966?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtemGovorov","html_url":"https://github.com/ArtemGovorov","followers_url":"https://api.github.com/users/ArtemGovorov/followers","following_url":"https://api.github.com/users/ArtemGovorov/following{/other_user}","gists_url":"https://api.github.com/users/ArtemGovorov/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemGovorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemGovorov/subscriptions","organizations_url":"https://api.github.com/users/ArtemGovorov/orgs","repos_url":"https://api.github.com/users/ArtemGovorov/repos","events_url":"https://api.github.com/users/ArtemGovorov/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemGovorov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-06T04:39:45Z","updated_at":"2015-11-07T13:21:19Z","closed_at":"2015-11-06T09:42:02Z","body":"Test file:\r\n``` JavaScript\r\nimport test from 'ava';\r\n\r\ntest.beforeEach(t => {\r\n  t.context = 'unicorn';\r\n  t.end();\r\n});\r\n\r\ntest(t => {\r\n  t.is(t.context, 'unicorn');\r\n  t.end();\r\n});\r\n```\r\n\r\nResult:\r\n```\r\n ✔ [anonymous]\r\n  ✖ [anonymous] undefined === 'unicorn'\r\n```"},"comment":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/comments/154703774","html_url":"https://github.com/sindresorhus/ava/issues/139#issuecomment-154703774","issue_url":"https://api.github.com/repos/sindresorhus/ava/issues/139","id":154703774,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T13:21:19Z","updated_at":"2015-11-07T13:21:19Z","body":"https://github.com/sindresorhus/ava/releases/tag/v0.4.0"}}