Skip to content

Use jest-diff options to turn off colors in diff #123

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

Conversation

alistairjcbrown
Copy link
Contributor

Make use of the new jest-diff options which allow color output to be
controlled. Use of example in documentation to turn off all color
output. strip-ansi is now unnecessary and has been removed as a
dependency.

Fixes #113

Documentation example: https://github.com/facebook/jest/tree/d81464622dc8857ba995ed04e121af2b3e8e33bc/packages/jest-diff#example-of-options-for-no-colors

Make use of the new jest-diff options which allow color output to be
controlled. Use of example in documentation to turn off all color
output. strip-ansi is now unnecessary and has been removed as a
dependency.

Fixes jest-community#113
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use jest-diff config instead of strip-ansi
2 participants