{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/792","repository_url":"https://api.github.com/repos/sindresorhus/ava","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/792/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/792/events","html_url":"https://github.com/sindresorhus/ava/pull/792","id":151247816,"number":792,"title":"Strip ANSI escape codes in TAP test titles","user":{"login":"sotojuan","id":8217766,"avatar_url":"https://avatars.githubusercontent.com/u/8217766?v=3","gravatar_id":"","url":"https://api.github.com/users/sotojuan","html_url":"https://github.com/sotojuan","followers_url":"https://api.github.com/users/sotojuan/followers","following_url":"https://api.github.com/users/sotojuan/following{/other_user}","gists_url":"https://api.github.com/users/sotojuan/gists{/gist_id}","starred_url":"https://api.github.com/users/sotojuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotojuan/subscriptions","organizations_url":"https://api.github.com/users/sotojuan/orgs","repos_url":"https://api.github.com/users/sotojuan/repos","events_url":"https://api.github.com/users/sotojuan/events{/privacy}","received_events_url":"https://api.github.com/users/sotojuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-26T21:51:23Z","updated_at":"2016-04-27T16:35:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/ava/pulls/792","html_url":"https://github.com/sindresorhus/ava/pull/792","diff_url":"https://github.com/sindresorhus/ava/pull/792.diff","patch_url":"https://github.com/sindresorhus/ava/pull/792.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/comments/215141127","html_url":"https://github.com/sindresorhus/ava/pull/792#issuecomment-215141127","issue_url":"https://api.github.com/repos/sindresorhus/ava/issues/792","id":215141127,"user":{"login":"novemberborn","id":33538,"avatar_url":"https://avatars.githubusercontent.com/u/33538?v=3","gravatar_id":"","url":"https://api.github.com/users/novemberborn","html_url":"https://github.com/novemberborn","followers_url":"https://api.github.com/users/novemberborn/followers","following_url":"https://api.github.com/users/novemberborn/following{/other_user}","gists_url":"https://api.github.com/users/novemberborn/gists{/gist_id}","starred_url":"https://api.github.com/users/novemberborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novemberborn/subscriptions","organizations_url":"https://api.github.com/users/novemberborn/orgs","repos_url":"https://api.github.com/users/novemberborn/repos","events_url":"https://api.github.com/users/novemberborn/events{/privacy}","received_events_url":"https://api.github.com/users/novemberborn/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T16:35:21Z","updated_at":"2016-04-27T16:35:21Z","body":"> The ANSI codes show up when you test more than one file—is there a way to simulate that on the TAP tests?\r\n\r\n@sotojuan I don't think that matters, the test calls `reporter.test()` directly.\r\n\r\n> Are we attacking this from the wrong side? Maybe we should color the test title in the reporters that needs it, not remove it here?\r\n\r\nSeems sensible to color when the test data is received, rather than in different reporters. Though admittedly there's more coloring going on in the reporters themselves. Maybe all of that can be improved in a future refactor?"}}