Start Jest with the --no-color CLI argument#293
Start Jest with the --no-color CLI argument#293connectdotz merged 1 commit intojest-community:masterfrom seanpoulter:issue-279
Conversation
Pull Request Test Coverage Report for Build 427
💛 - Coveralls |
|
I’ve merged the other, but this now relies on a new jest release |
|
We're still waiting for a Jest deployment. It's making me wish we could go bump |
|
There's nearly always a jest release: https://www.npmjs.com/package/jest (see versions) |
|
Switching to a beta release of |
|
I wonder if we can fix this issue now without the option. 🤔 |
|
You mean without the |
On second thought it's not worth any thought.
Do we need to worry about breaking anything else? Things aren't very stable right now ... 🔥 |
|
I can't think of any new instability since there had been only a handful of changes (mostly made by us) which I think only introduced new features. I already tested it with my PR and didn't notice any issues. |
connectdotz
left a comment
There was a problem hiding this comment.
@seanpoulter once we merge #341, we should be in sync with the latest jest-editor-support that this PR depends on.
The change is small and simple, I see no problem in merging in, just need to resolve the merge conflict as there are many PRs went ahead of this one...
|
Was there something about Jest 23 that solved this problem for us? I don't remember ... |
|
the new option During #341, I briefly tested the noColor option and it seems to work, however I have only tested with jest 23.x. I think as long as it won't break other jest versions, we should be fine. |
|
OK, thanks for refreshing my memory. I'll rebase that when I get a few moments. |
|
I've rebased the PR which should be good to go @connectdotz. |
|
thanks @seanpoulter |
This PR will prevent the ANSI escape codes from appearing in the test messages. This is dependent on a change to
jest-editor-supportthat adds the--no-coloroption (jestjs/jest#5909).