-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Switch to disable color output to console #843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah, it should already work, but trying it out now it doesn't. We'll look into it. We're probably just not passing the flag down to the spawned test file. Also, please open up an issue on https://github.com/chalk/supports-color with the output of running |
done :) |
Submitted a PR to fix this - chalk/supports-color#39. |
Oh damn, did not see the "good for beginner" badge... Sorry! |
@vdemedes No worries. The beginner badge is for fixing the |
Obv. this should still be done, but is the OP using TeamCIty 9.1+? Colored output was supported with https://youtrack.jetbrains.com/issue/TW-23760 |
As far as I can tell this issue has been made available again because of lack of activity in #1104. So I would like to see if I can finish up what @thinkimlazy started on. |
@ThomasBem go for it! |
@ThomasBem great! I think u need to check if main proccess has |
I got it to work for the mini and verbose test reporters already. Gotten quiet familiar with those two from my recent issues / PR`s. Combined with the work you had already done that went really fast. Now I gotta figure out how to stop it from printing color in the tests themselves. So gotta read some more code! :) |
Still doesn't work correctly in import test from 'ava';
test('Test', (t) => {
t.is(1, 2);
});
|
Fixes #843 (#843 (comment)). Values shouldn't be highlighted during formatting if colors are disabled.
Fixes #843 (#843 (comment)). Values shouldn't be highlighted during formatting if colors are disabled.
@aemxdp interesting. #1334 should fix that. |
Fixes #843 (#843 (comment)). Values shouldn't be highlighted during formatting if colors are disabled.
it would be good to have a switch that disable colors in console output f.e --no-color
it was useful when ava used under some CI systems f.e. TeamCity and color coding showed as plain text in test reports.
The text was updated successfully, but these errors were encountered: