{"action":"opened","issue":{"url":"https://api.github.com/repos/avajs/ava/issues/1124","repository_url":"https://api.github.com/repos/avajs/ava","labels_url":"https://api.github.com/repos/avajs/ava/issues/1124/labels{/name}","comments_url":"https://api.github.com/repos/avajs/ava/issues/1124/comments","events_url":"https://api.github.com/repos/avajs/ava/issues/1124/events","html_url":"https://github.com/avajs/ava/issues/1124","id":190931184,"number":1124,"title":"Using chalk in AVA tests does not colorize the strings","user":{"login":"KnisterPeter","id":327445,"avatar_url":"https://avatars.githubusercontent.com/u/327445?v=3","gravatar_id":"","url":"https://api.github.com/users/KnisterPeter","html_url":"https://github.com/KnisterPeter","followers_url":"https://api.github.com/users/KnisterPeter/followers","following_url":"https://api.github.com/users/KnisterPeter/following{/other_user}","gists_url":"https://api.github.com/users/KnisterPeter/gists{/gist_id}","starred_url":"https://api.github.com/users/KnisterPeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnisterPeter/subscriptions","organizations_url":"https://api.github.com/users/KnisterPeter/orgs","repos_url":"https://api.github.com/users/KnisterPeter/repos","events_url":"https://api.github.com/users/KnisterPeter/events{/privacy}","received_events_url":"https://api.github.com/users/KnisterPeter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T08:02:35Z","updated_at":"2016-11-22T08:02:35Z","closed_at":null,"body":"I noticed that the following code does work as expected\r\n\r\n```js\r\nconst chalk = require('chalk');\r\nconsole.log(chalk.blue('hello world')); // as expected the result is blue\r\n```\r\n\r\nbut this doesn't\r\n\r\n```js\r\nconst test = require('ava');\r\nconst chalk = require('chalk');\r\nconsole.log(chalk.blue('hello world')); // NOT expected the result is grey\r\ntest(t => t.fail());\r\n```\r\n"}}
{"actor":{"display_login":"KnisterPeter"}}