Skip to content
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

Remove redundant stripAnsi #7833

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

vitkarpov
Copy link
Contributor

Summary

It doesn't make sense to wrap a runJust call into stripAnsi since the latter works only with strings.
runJest returns an object so stripAnsi just passes it along.

Materials:

It doesn't make sense to wrap a runJust call into stripAnsi since the latter works only with strings.
`runJest` returns an object so stripAnsi just passes it along.

Materials:

- Commit where the code was added in the first place: jestjs@e12cab6#diff-4cf7d6c79ff377b63522b3af20e34e8eR307
- stripAnsi source code: https://github.com/chalk/strip-ansi/blob/097894423fedb6b4dca3005ad45608b893fcdcf8/index.js
@thymikee thymikee merged commit cd77749 into jestjs:master Feb 8, 2019
@vitkarpov vitkarpov deleted the rm-redundant-strip-ansi branch February 8, 2019 09:17
captain-yossarian pushed a commit to captain-yossarian/jest that referenced this pull request Jul 18, 2019
## Summary

It doesn't make sense to wrap a `runJust` call into `stripAnsi` since the latter works only with strings.
`runJest` returns an object so stripAnsi just passes it along.

Materials:

- Commit where the code was added in the first place: jestjs@e12cab6#diff-4cf7d6c79ff377b63522b3af20e34e8eR307
- stripAnsi source code: https://github.com/chalk/strip-ansi/blob/097894423fedb6b4dca3005ad45608b893fcdcf8/index.js
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants