{"action":"created","issue":{"url":"https://api.github.com/repos/jasmine/jasmine/issues/1230","repository_url":"https://api.github.com/repos/jasmine/jasmine","labels_url":"https://api.github.com/repos/jasmine/jasmine/issues/1230/labels{/name}","comments_url":"https://api.github.com/repos/jasmine/jasmine/issues/1230/comments","events_url":"https://api.github.com/repos/jasmine/jasmine/issues/1230/events","html_url":"https://github.com/jasmine/jasmine/pull/1230","id":185499710,"number":1230,"title":"Small enhancement to let a user pass an ES6 class into Jasmine and ha…","user":{"login":"drtimwright","id":7540034,"avatar_url":"https://avatars.githubusercontent.com/u/7540034?v=3","gravatar_id":"","url":"https://api.github.com/users/drtimwright","html_url":"https://github.com/drtimwright","followers_url":"https://api.github.com/users/drtimwright/followers","following_url":"https://api.github.com/users/drtimwright/following{/other_user}","gists_url":"https://api.github.com/users/drtimwright/gists{/gist_id}","starred_url":"https://api.github.com/users/drtimwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drtimwright/subscriptions","organizations_url":"https://api.github.com/users/drtimwright/orgs","repos_url":"https://api.github.com/users/drtimwright/repos","events_url":"https://api.github.com/users/drtimwright/events{/privacy}","received_events_url":"https://api.github.com/users/drtimwright/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T20:21:44Z","updated_at":"2016-11-10T02:09:37Z","closed_at":"2016-11-10T02:09:37Z","pull_request":{"url":"https://api.github.com/repos/jasmine/jasmine/pulls/1230","html_url":"https://github.com/jasmine/jasmine/pull/1230","diff_url":"https://github.com/jasmine/jasmine/pull/1230.diff","patch_url":"https://github.com/jasmine/jasmine/pull/1230.patch"},"body":"Hi Jasmine folks,\n\nHere's a little enhancement for you. Something I miss coming from the Java world is the ability to give Jasmine a class (I use typescript and ES6) and have Jasmine automatically create an object with all the method in the class spied on. This means that I can more easily create spy objects and know that the methods have the right names (refactoring support often misses changing method names when you use jasmine.createSpyObj mechanism).\n\nSo here's a pull request that adds that functionality.\n\nThanks,\n\nTim\n"},"comment":{"url":"https://api.github.com/repos/jasmine/jasmine/issues/comments/259583270","html_url":"https://github.com/jasmine/jasmine/pull/1230#issuecomment-259583270","issue_url":"https://api.github.com/repos/jasmine/jasmine/issues/1230","id":259583270,"user":{"login":"slackersoft","id":512724,"avatar_url":"https://avatars.githubusercontent.com/u/512724?v=3","gravatar_id":"","url":"https://api.github.com/users/slackersoft","html_url":"https://github.com/slackersoft","followers_url":"https://api.github.com/users/slackersoft/followers","following_url":"https://api.github.com/users/slackersoft/following{/other_user}","gists_url":"https://api.github.com/users/slackersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/slackersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slackersoft/subscriptions","organizations_url":"https://api.github.com/users/slackersoft/orgs","repos_url":"https://api.github.com/users/slackersoft/repos","events_url":"https://api.github.com/users/slackersoft/events{/privacy}","received_events_url":"https://api.github.com/users/slackersoft/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T02:09:37Z","updated_at":"2016-11-10T02:09:37Z","body":"I don't think that class based spying is something Jasmine needs to support at this time. See discussion  [here](https://github.com/jasmine/jasmine/issues/1050#issuecomment-259582143) as well.\r\n\r\nClosing. Thanks for using Jasmine!"}}
{"actor":{"display_login":"slackersoft"}}