{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/1587","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/1587/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/1587/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/1587/events","html_url":"https://github.com/facebook/jest/issues/1587","id":174817791,"number":1587,"title":"When using --json coverage should not write to STDOUT","user":{"login":"deedubs","id":10067,"avatar_url":"https://avatars.githubusercontent.com/u/10067?v=3","gravatar_id":"","url":"https://api.github.com/users/deedubs","html_url":"https://github.com/deedubs","followers_url":"https://api.github.com/users/deedubs/followers","following_url":"https://api.github.com/users/deedubs/following{/other_user}","gists_url":"https://api.github.com/users/deedubs/gists{/gist_id}","starred_url":"https://api.github.com/users/deedubs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deedubs/subscriptions","organizations_url":"https://api.github.com/users/deedubs/orgs","repos_url":"https://api.github.com/users/deedubs/repos","events_url":"https://api.github.com/users/deedubs/events{/privacy}","received_events_url":"https://api.github.com/users/deedubs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-02T18:11:41Z","updated_at":"2016-09-02T18:17:36Z","closed_at":null,"body":"Currently when you run \r\n\r\n> jest --coverage --json > testresults.json\r\n\r\nyou get output like\r\n\r\n```bash\r\n----------|----------|----------|----------|----------|----------------|\r\nFile      |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\r\n----------|----------|----------|----------|----------|----------------|\r\nAll files |        0 |      100 |        0 |        0 |                |\r\n sum.js   |        0 |      100 |        0 |        0 |              4 |\r\n----------|----------|----------|----------|----------|----------------|\r\n{\"success\":true,\"startTime\":1472839687602,\"numTotalTests\":1,\"numTotalTestSuites\":1,\"numRuntimeErrorTestSuites\":0,\"numPassedTests\":1,\"numFailedTests\":0,\"numPendingTests\":0,\"testResults\":[{\"name\":\"/home/deedubs/Workspaces/exp/jest/lib/sum_test.js\",\"summary\":\"\",\"message\":\"\",\"status\":\"passed\",\"startTime\":1472839688228,\"endTime\":1472839688310,\"coverage\":{\"/home/deedubs/Workspaces/exp/jest/lib/sum.js\":{\"path\":\"/home/deedubs/Workspaces/exp/jest/lib/sum.js\",\"statementMap\":{\"1\":{\"start\":{\"line\":4,\"column\":4},\"end\":{\"line\":4,\"column\":17}}},\"fnMap\":{\"1\":{\"name\":\"Sum\",\"decl\":{\"start\":{\"line\":2,\"column\":16},\"end\":{\"line\":2,\"column\":19}},\"loc\":{\"start\":{\"line\":2,\"column\":25},\"end\":{\"line\":5,\"column\":1}}}},\"branchMap\":{},\"s\":{\"1\":0},\"f\":{\"1\":0},\"b\":{},\"hash\":\"490c240dd6198db8b87ff8992af880b1c8cb1ae0\"}}}]}\r\n```\r\nTo me if the user specifies `--json` all istanbul output should be suppressed other than that in the returned object."},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/244450288","html_url":"https://github.com/facebook/jest/issues/1587#issuecomment-244450288","issue_url":"https://api.github.com/repos/facebook/jest/issues/1587","id":244450288,"user":{"login":"deedubs","id":10067,"avatar_url":"https://avatars.githubusercontent.com/u/10067?v=3","gravatar_id":"","url":"https://api.github.com/users/deedubs","html_url":"https://github.com/deedubs","followers_url":"https://api.github.com/users/deedubs/followers","following_url":"https://api.github.com/users/deedubs/following{/other_user}","gists_url":"https://api.github.com/users/deedubs/gists{/gist_id}","starred_url":"https://api.github.com/users/deedubs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deedubs/subscriptions","organizations_url":"https://api.github.com/users/deedubs/orgs","repos_url":"https://api.github.com/users/deedubs/repos","events_url":"https://api.github.com/users/deedubs/events{/privacy}","received_events_url":"https://api.github.com/users/deedubs/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T18:17:36Z","updated_at":"2016-09-02T18:17:36Z","body":"Yeah I'm poking around now :/"}}
{"actor":{"display_login":"deedubs"}}