-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to disable color in test log output (#1036)
This adds the ability to pass a `--no-color` flag to `encore test` to disable color output in zerolog. This is useful when displaying output in windows which don't support colors. This is the case for VSCode test output: The current output of those runs look like this, which makes debugging failed tests extremely difficult: <img width="1211" alt="image" src="https://github.com/encoredev/encore/assets/169475/c18c74f3-1cf6-4e38-9fd7-a9acda2c2a4c"> WARNING: This is not tested, as I couldn't quickly figure out how to do that. Building the binary and attempting to use it caused a daemon version mismatch error though both cli and daemon report the same version (I assume there's some hash checking).
- Loading branch information
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters