{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/2342","repository_url":"https://api.github.com/repos/karma-runner/karma","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/2342/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/2342/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/2342/events","html_url":"https://github.com/karma-runner/karma/issues/2342","id":174330557,"number":2342,"title":"Duplicate console log messages when conflicting reporters are defined","user":{"login":"eklundjoshua","id":7565414,"avatar_url":"https://avatars.githubusercontent.com/u/7565414?v=3","gravatar_id":"","url":"https://api.github.com/users/eklundjoshua","html_url":"https://github.com/eklundjoshua","followers_url":"https://api.github.com/users/eklundjoshua/followers","following_url":"https://api.github.com/users/eklundjoshua/following{/other_user}","gists_url":"https://api.github.com/users/eklundjoshua/gists{/gist_id}","starred_url":"https://api.github.com/users/eklundjoshua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eklundjoshua/subscriptions","organizations_url":"https://api.github.com/users/eklundjoshua/orgs","repos_url":"https://api.github.com/users/eklundjoshua/repos","events_url":"https://api.github.com/users/eklundjoshua/events{/privacy}","received_events_url":"https://api.github.com/users/eklundjoshua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T17:22:20Z","updated_at":"2016-12-02T08:28:59Z","closed_at":null,"body":"### Description of the problem:\n\nIn our project we have both Mocha & Remap-Istanbul defined as reporters for our Karma Tests. It seems as though these two reporters both have similar functionality in that they both intercept console.log messages that are written out from the JavaScript so there are always two log messages for every console.log message that we write. I do not think there is a feature yet, but it would be neat to add functionality that basically disables console.log messages for one plugin but leaves them for another so that way you can have the functionality of both plugins but only allow 1 of them to output console.log messages. \n### Environment Details\n\nKarma Version 0.13.22\n### Steps to reproduce the behaviour\n1. Defined reporters: [\"mocha\", \"coverage\", \"karma-remap-istanbul\"] in the karma.conf.js for my angular app\n2. Ran my tests \n3. Console logs that were written in the code were duplicated for every test that had been executed.\n4. Removed \"karma-remap-istanbul\" from the reporters list, reran the tests, and the duplication went away.\n5. Added \"karma-remap-istanbul\" back to the reports list and removed \"mocha\", reran the tests, and the duplication went away. \n"},"comment":{"url":"https://api.github.com/repos/karma-runner/karma/issues/comments/264400198","html_url":"https://github.com/karma-runner/karma/issues/2342#issuecomment-264400198","issue_url":"https://api.github.com/repos/karma-runner/karma/issues/2342","id":264400198,"user":{"login":"maksimr","id":616193,"avatar_url":"https://avatars.githubusercontent.com/u/616193?v=3","gravatar_id":"","url":"https://api.github.com/users/maksimr","html_url":"https://github.com/maksimr","followers_url":"https://api.github.com/users/maksimr/followers","following_url":"https://api.github.com/users/maksimr/following{/other_user}","gists_url":"https://api.github.com/users/maksimr/gists{/gist_id}","starred_url":"https://api.github.com/users/maksimr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksimr/subscriptions","organizations_url":"https://api.github.com/users/maksimr/orgs","repos_url":"https://api.github.com/users/maksimr/repos","events_url":"https://api.github.com/users/maksimr/events{/privacy}","received_events_url":"https://api.github.com/users/maksimr/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T08:28:59Z","updated_at":"2016-12-02T08:28:59Z","body":"@eklundjoshua could you post config for karma-remap-istanbul?\r\n\r\nThanks!"}}
{"actor":{"display_login":"maksimr"}}