{"action":"created","issue":{"url":"https://api.github.com/repos/tarciosaraiva/zombied-chai/issues/2","repository_url":"https://api.github.com/repos/tarciosaraiva/zombied-chai","labels_url":"https://api.github.com/repos/tarciosaraiva/zombied-chai/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tarciosaraiva/zombied-chai/issues/2/comments","events_url":"https://api.github.com/repos/tarciosaraiva/zombied-chai/issues/2/events","html_url":"https://github.com/tarciosaraiva/zombied-chai/issues/2","id":174990145,"number":2,"title":"Installation instructions?","user":{"login":"stevenvachon","id":170197,"avatar_url":"https://avatars.githubusercontent.com/u/170197?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenvachon","html_url":"https://github.com/stevenvachon","followers_url":"https://api.github.com/users/stevenvachon/followers","following_url":"https://api.github.com/users/stevenvachon/following{/other_user}","gists_url":"https://api.github.com/users/stevenvachon/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenvachon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenvachon/subscriptions","organizations_url":"https://api.github.com/users/stevenvachon/orgs","repos_url":"https://api.github.com/users/stevenvachon/repos","events_url":"https://api.github.com/users/stevenvachon/events{/privacy}","received_events_url":"https://api.github.com/users/stevenvachon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T03:42:06Z","updated_at":"2016-09-05T22:38:15Z","closed_at":null,"body":"I'm getting this error:\r\n```\r\nTypeError: fn is not a function\r\n    at Object.exports.use (/project/node_modules/chai/lib/chai.js:40:5)\r\n```\r\ncaused by:\r\n```js\r\nchai.use( require(\"zombied-chai\") );\r\n```"},"comment":{"url":"https://api.github.com/repos/tarciosaraiva/zombied-chai/issues/comments/244818242","html_url":"https://github.com/tarciosaraiva/zombied-chai/issues/2#issuecomment-244818242","issue_url":"https://api.github.com/repos/tarciosaraiva/zombied-chai/issues/2","id":244818242,"user":{"login":"tarciosaraiva","id":893428,"avatar_url":"https://avatars.githubusercontent.com/u/893428?v=3","gravatar_id":"","url":"https://api.github.com/users/tarciosaraiva","html_url":"https://github.com/tarciosaraiva","followers_url":"https://api.github.com/users/tarciosaraiva/followers","following_url":"https://api.github.com/users/tarciosaraiva/following{/other_user}","gists_url":"https://api.github.com/users/tarciosaraiva/gists{/gist_id}","starred_url":"https://api.github.com/users/tarciosaraiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarciosaraiva/subscriptions","organizations_url":"https://api.github.com/users/tarciosaraiva/orgs","repos_url":"https://api.github.com/users/tarciosaraiva/repos","events_url":"https://api.github.com/users/tarciosaraiva/events{/privacy}","received_events_url":"https://api.github.com/users/tarciosaraiva/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T22:38:15Z","updated_at":"2016-09-05T22:38:15Z","body":"Hey @stevenvachon what you are doing is totally correct. The whole point behind it was related to `export default function` which exports a `default` object when you require the module thus you would need to use\r\n```\r\nchai.use( require(\"zombied-chai\").default );\r\n```\r\n... which is bloody ugly. I fixed that now so you should be able to use it as you expected: version 1.0.69 is up.\r\n\r\nLet me know if you run into trouble :+1: "}}
{"actor":{"display_login":"tarciosaraiva"}}