{"action":"created","issue":{"url":"https://api.github.com/repos/pana-cc/mocha-typescript/issues/68","repository_url":"https://api.github.com/repos/pana-cc/mocha-typescript","labels_url":"https://api.github.com/repos/pana-cc/mocha-typescript/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/pana-cc/mocha-typescript/issues/68/comments","events_url":"https://api.github.com/repos/pana-cc/mocha-typescript/issues/68/events","html_url":"https://github.com/pana-cc/mocha-typescript/pull/68","id":326649592,"number":68,"title":"Update index.ts","user":{"login":"richardspence","id":9914123,"avatar_url":"https://avatars2.githubusercontent.com/u/9914123?v=4","gravatar_id":"","url":"https://api.github.com/users/richardspence","html_url":"https://github.com/richardspence","followers_url":"https://api.github.com/users/richardspence/followers","following_url":"https://api.github.com/users/richardspence/following{/other_user}","gists_url":"https://api.github.com/users/richardspence/gists{/gist_id}","starred_url":"https://api.github.com/users/richardspence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardspence/subscriptions","organizations_url":"https://api.github.com/users/richardspence/orgs","repos_url":"https://api.github.com/users/richardspence/repos","events_url":"https://api.github.com/users/richardspence/events{/privacy}","received_events_url":"https://api.github.com/users/richardspence/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-25T20:12:15Z","updated_at":"2018-05-29T20:39:43Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pana-cc/mocha-typescript/pulls/68","html_url":"https://github.com/pana-cc/mocha-typescript/pull/68","diff_url":"https://github.com/pana-cc/mocha-typescript/pull/68.diff","patch_url":"https://github.com/pana-cc/mocha-typescript/pull/68.patch"},"body":"When using Karma test runner, the test runner toStrings() method implementations for rendering the html output.\r\n\r\nCurrently using karma runner you would get this when inspecting the method:\r\n![image](https://user-images.githubusercontent.com/9914123/40564186-9723610a-601c-11e8-99a4-0f88035ef736.png)\r\n\r\n\r\n## The fix:\r\nWrap tostring() to the inner function.\r\nThis change corrects the karma html viewer to show the correct test method implementation:\r\n![image](https://user-images.githubusercontent.com/9914123/40564111-4eaac08a-601c-11e8-9cab-6bc1bb2a4db7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/pana-cc/mocha-typescript/issues/comments/392935775","html_url":"https://github.com/pana-cc/mocha-typescript/pull/68#issuecomment-392935775","issue_url":"https://api.github.com/repos/pana-cc/mocha-typescript/issues/68","id":392935775,"user":{"login":"silkentrance","id":6068824,"avatar_url":"https://avatars3.githubusercontent.com/u/6068824?v=4","gravatar_id":"","url":"https://api.github.com/users/silkentrance","html_url":"https://github.com/silkentrance","followers_url":"https://api.github.com/users/silkentrance/followers","following_url":"https://api.github.com/users/silkentrance/following{/other_user}","gists_url":"https://api.github.com/users/silkentrance/gists{/gist_id}","starred_url":"https://api.github.com/users/silkentrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silkentrance/subscriptions","organizations_url":"https://api.github.com/users/silkentrance/orgs","repos_url":"https://api.github.com/users/silkentrance/repos","events_url":"https://api.github.com/users/silkentrance/events{/privacy}","received_events_url":"https://api.github.com/users/silkentrance/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T20:39:43Z","updated_at":"2018-05-29T20:39:43Z","author_association":"COLLABORATOR","body":"@richardspence please rebase to master, #74 has been fixed."}}
{"actor":{"display_login":"silkentrance"}}