protractor-flake icon indicating copy to clipboard operation
protractor-flake copied to clipboard

report chalk color disabled after hooking flake

Open gustavomick opened this issue 7 years ago • 2 comments

hi guys, nice lib. may be this is a simple misconfiguration but to summarize, without flake, my jasmine customized reports are colorizing logs normally, after hooking those tests with flake I lose colors.

is there any configuration that i need to consider for this?

thanks

gustavomick avatar Sep 16 '17 23:09 gustavomick

Hi @gustavomick

Tnx for the compliment 👍 . I see what you mean, strange thing is that it also happens on a project that doesn't have protractor-flake but also uses chalk as dependency in different modules. So first I would say it's dependency related, but will try to dive into it.

wswebcreation avatar Sep 18 '17 04:09 wswebcreation

Hi there. I had this same problem, but I believe it is an issue/feature of chalk: https://github.com/Marak/colors.js/issues/127

For me I added --color to the command line I'm feeding to protractor-flake and my colors came back. The issue linked also talks about what to do if you can't modify the command line.

Hope that helps.

epgremill3 avatar Feb 09 '18 18:02 epgremill3