-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Free tests from FORCE_COLOR environment variable dependency (#…
…4381) **Summary** FORCE_COLOR environment variable allows to force yarn to use colors. This makes some of tests fail because of comparing colorized output with plain strings. For example, if you run a test in environment where FORCE_COLOR is set you get this failure: ``` FAIL __tests__\index.js ● should add package expect(received).toEqual(expected) Expected value to equal: "success Saved lockfile." Received: success Saved lockfile." ``` **Test plan** Run tests in an environment where `FORCE_COLOR` is enabled. They should pass.
- Loading branch information
Showing
3 changed files
with
15 additions
and
8 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
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