-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix(core): refactor the logging logic in e2e tests #15548
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
f510a6f
to
c295022
Compare
c295022
to
f10d285
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some minor changes.
f10d285
to
af0b3d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
just a place to reuse the stripConsoleColor is the only thing I see in the PR.
af0b3d7
to
5ecd7d1
Compare
(cherry picked from commit a0e00c8)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
['pipe', 'pipe', 'pipe']
topipe
isVerbose()
is usedisVerbose()
.toString()
since we're usingencoding
to allexecSync
commandsComments
Output, if error, is always displayed.
The thing is, however, that in the test summary, if there was an error, still the stack trace of
error on execSync
is displayed. We can take a look at whether this is configurable or not at a later PR.