{"action":"created","issue":{"url":"https://api.github.com/repos/mdn/webextensions-examples/issues/149","repository_url":"https://api.github.com/repos/mdn/webextensions-examples","labels_url":"https://api.github.com/repos/mdn/webextensions-examples/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/mdn/webextensions-examples/issues/149/comments","events_url":"https://api.github.com/repos/mdn/webextensions-examples/issues/149/events","html_url":"https://github.com/mdn/webextensions-examples/pull/149","id":192816775,"number":149,"title":"Modify mocha-test-clients to use Karma","user":{"login":"sneakypete81","id":38854,"avatar_url":"https://avatars.githubusercontent.com/u/38854?v=3","gravatar_id":"","url":"https://api.github.com/users/sneakypete81","html_url":"https://github.com/sneakypete81","followers_url":"https://api.github.com/users/sneakypete81/followers","following_url":"https://api.github.com/users/sneakypete81/following{/other_user}","gists_url":"https://api.github.com/users/sneakypete81/gists{/gist_id}","starred_url":"https://api.github.com/users/sneakypete81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneakypete81/subscriptions","organizations_url":"https://api.github.com/users/sneakypete81/orgs","repos_url":"https://api.github.com/users/sneakypete81/repos","events_url":"https://api.github.com/users/sneakypete81/events{/privacy}","received_events_url":"https://api.github.com/users/sneakypete81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-01T11:12:31Z","updated_at":"2016-12-01T18:46:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mdn/webextensions-examples/pulls/149","html_url":"https://github.com/mdn/webextensions-examples/pull/149","diff_url":"https://github.com/mdn/webextensions-examples/pull/149.diff","patch_url":"https://github.com/mdn/webextensions-examples/pull/149.patch"},"body":"Using PhantomJS for testing WebExtensions is not ideal. It uses webkit under the hood, which can have implementation differences and missing features. It doesn't support ES2015 classes, for example.\r\n\r\nThis PR:\r\n* Modifies the example to use Karma to run the commandline tests in a Firefox instance.\r\n* Switches from chome-mock to sinon-chrome, which [supports the WebExtensions API](https://github.com/acvetkov/sinon-chrome/issues/40).\r\n* Updates the README to more clearly explain the distinction between in-addon and commandline testing, and add a link to the excellent https://github.com/Standard8/example-webextension."},"comment":{"url":"https://api.github.com/repos/mdn/webextensions-examples/issues/comments/264257566","html_url":"https://github.com/mdn/webextensions-examples/pull/149#issuecomment-264257566","issue_url":"https://api.github.com/repos/mdn/webextensions-examples/issues/149","id":264257566,"user":{"login":"sneakypete81","id":38854,"avatar_url":"https://avatars.githubusercontent.com/u/38854?v=3","gravatar_id":"","url":"https://api.github.com/users/sneakypete81","html_url":"https://github.com/sneakypete81","followers_url":"https://api.github.com/users/sneakypete81/followers","following_url":"https://api.github.com/users/sneakypete81/following{/other_user}","gists_url":"https://api.github.com/users/sneakypete81/gists{/gist_id}","starred_url":"https://api.github.com/users/sneakypete81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneakypete81/subscriptions","organizations_url":"https://api.github.com/users/sneakypete81/orgs","repos_url":"https://api.github.com/users/sneakypete81/repos","events_url":"https://api.github.com/users/sneakypete81/events{/privacy}","received_events_url":"https://api.github.com/users/sneakypete81/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T18:46:09Z","updated_at":"2016-12-01T18:46:09Z","body":"Thanks @kumar303, changes applied. "}}
{"actor":{"display_login":"sneakypete81"}}