{"action":"created","issue":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/171","repository_url":"https://api.github.com/repos/typeorm/typeorm","labels_url":"https://api.github.com/repos/typeorm/typeorm/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/typeorm/typeorm/issues/171/comments","events_url":"https://api.github.com/repos/typeorm/typeorm/issues/171/events","html_url":"https://github.com/typeorm/typeorm/issues/171","id":198565074,"number":171,"title":"Is there a suggested way to write unit tests with Mocha/Chai/Sinon?","user":{"login":"Tobias4872","id":22483371,"avatar_url":"https://avatars2.githubusercontent.com/u/22483371?v=4","gravatar_id":"","url":"https://api.github.com/users/Tobias4872","html_url":"https://github.com/Tobias4872","followers_url":"https://api.github.com/users/Tobias4872/followers","following_url":"https://api.github.com/users/Tobias4872/following{/other_user}","gists_url":"https://api.github.com/users/Tobias4872/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobias4872/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobias4872/subscriptions","organizations_url":"https://api.github.com/users/Tobias4872/orgs","repos_url":"https://api.github.com/users/Tobias4872/repos","events_url":"https://api.github.com/users/Tobias4872/events{/privacy}","received_events_url":"https://api.github.com/users/Tobias4872/received_events","type":"User","site_admin":false},"labels":[{"id":637599918,"url":"https://api.github.com/repos/typeorm/typeorm/labels/comp:%20testing","name":"comp: testing","color":"1d76db","default":false},{"id":506189478,"url":"https://api.github.com/repos/typeorm/typeorm/labels/discussion","name":"discussion","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-01-03T20:47:47Z","updated_at":"2018-02-20T07:29:07Z","closed_at":"2018-02-20T07:29:07Z","author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nI am currently looking for an ORM to support a REST API written with Koa. I wonder whether there are some examples of how unit testing will work with typeorm let's say with Mocha/Chai/Sinon? Are there probably any mock classes for connections, repositories, etc.? I have scanned the repo and found files for internal testing purposes, but there are not distributed.\r\n\r\nAny comment would be appreciated,\r\n\r\nTobias."},"comment":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/comments/366889063","html_url":"https://github.com/typeorm/typeorm/issues/171#issuecomment-366889063","issue_url":"https://api.github.com/repos/typeorm/typeorm/issues/171","id":366889063,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars3.githubusercontent.com/u/1753397?v=4","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T07:29:07Z","updated_at":"2018-02-20T07:29:07Z","author_association":"OWNER","body":"Let's keep discussion in a single thread. Closing in favour of #1267."}}
{"actor":{"display_login":"pleerock"}}