protractor-flake
protractor-flake copied to clipboard
report chalk color disabled after hooking flake
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
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.
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.