{"action":"opened","issue":{"url":"https://api.github.com/repos/HughePaul/rfid-door-entry/issues/2","labels_url":"https://api.github.com/repos/HughePaul/rfid-door-entry/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/HughePaul/rfid-door-entry/issues/2/comments","events_url":"https://api.github.com/repos/HughePaul/rfid-door-entry/issues/2/events","html_url":"https://github.com/HughePaul/rfid-door-entry/issues/2","id":125513377,"number":2,"title":"Review use of arrow functions in mocha tests","user":{"login":"merlinc","id":196695,"avatar_url":"https://avatars.githubusercontent.com/u/196695?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinc","html_url":"https://github.com/merlinc","followers_url":"https://api.github.com/users/merlinc/followers","following_url":"https://api.github.com/users/merlinc/following{/other_user}","gists_url":"https://api.github.com/users/merlinc/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinc/subscriptions","organizations_url":"https://api.github.com/users/merlinc/orgs","repos_url":"https://api.github.com/users/merlinc/repos","events_url":"https://api.github.com/users/merlinc/events{/privacy}","received_events_url":"https://api.github.com/users/merlinc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-08T00:08:23Z","updated_at":"2016-01-08T00:08:23Z","closed_at":null,"body":"\"Arrow functions\r\n\r\nPassing arrow functions to Mocha is discouraged. Their lexical binding of the this value makes them unable to access the Mocha context, and statements like this.timeout(1000); will not work inside an arrow function.\"\r\n\r\nhttps://mochajs.org/#arrow-functions"}}