{"action":"created","issue":{"url":"https://api.github.com/repos/uberVU/mocha-mugshot-reporter/issues/4","labels_url":"https://api.github.com/repos/uberVU/mocha-mugshot-reporter/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/uberVU/mocha-mugshot-reporter/issues/4/comments","events_url":"https://api.github.com/repos/uberVU/mocha-mugshot-reporter/issues/4/events","html_url":"https://github.com/uberVU/mocha-mugshot-reporter/issues/4","id":105998977,"number":4,"title":"File generator","user":{"login":"flore77","id":11819686,"avatar_url":"https://avatars.githubusercontent.com/u/11819686?v=3","gravatar_id":"","url":"https://api.github.com/users/flore77","html_url":"https://github.com/flore77","followers_url":"https://api.github.com/users/flore77/followers","following_url":"https://api.github.com/users/flore77/following{/other_user}","gists_url":"https://api.github.com/users/flore77/gists{/gist_id}","starred_url":"https://api.github.com/users/flore77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flore77/subscriptions","organizations_url":"https://api.github.com/users/flore77/orgs","repos_url":"https://api.github.com/users/flore77/repos","events_url":"https://api.github.com/users/flore77/events{/privacy}","received_events_url":"https://api.github.com/users/flore77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-11T12:16:51Z","updated_at":"2015-09-11T12:54:08Z","closed_at":null,"body":"## Need\r\n\r\n```gherkin\r\nAs a developer\r\nI need to have a js file to include in my html\r\nSo that I can retrieve my data in the browser\r\n```\r\n\r\n## Deliverables\r\n\r\nA file with the data from the `Mocha runner`.\r\n\r\n## Solution\r\n\r\nIt is so simple we will include it directly in the reporter, i.e [index.js](https://github.com/uberVU/mocha-mugshot-reporter/blob/c42ab80e150f2ac5c534e92d46bfc7ca51addbaa/index.js). If at some point there will be more logic, it can be moved very easily in its own module.\r\n\r\nFor testing we will use [chai-fs](http://chaijs.com/plugins/chai-fs), that allows us to assert that the file exists and even to test it's content.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/uberVU/mocha-mugshot-reporter/issues/comments/139538648","html_url":"https://github.com/uberVU/mocha-mugshot-reporter/issues/4#issuecomment-139538648","issue_url":"https://api.github.com/repos/uberVU/mocha-mugshot-reporter/issues/4","id":139538648,"user":{"login":"flore77","id":11819686,"avatar_url":"https://avatars.githubusercontent.com/u/11819686?v=3","gravatar_id":"","url":"https://api.github.com/users/flore77","html_url":"https://github.com/flore77","followers_url":"https://api.github.com/users/flore77/followers","following_url":"https://api.github.com/users/flore77/following{/other_user}","gists_url":"https://api.github.com/users/flore77/gists{/gist_id}","starred_url":"https://api.github.com/users/flore77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flore77/subscriptions","organizations_url":"https://api.github.com/users/flore77/orgs","repos_url":"https://api.github.com/users/flore77/repos","events_url":"https://api.github.com/users/flore77/events{/privacy}","received_events_url":"https://api.github.com/users/flore77/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T12:54:08Z","updated_at":"2015-09-11T12:54:08Z","body":"Yeah, I haven't check this out :disappointed: "}}