-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
feat(reporter): --silent=passed-only
to log failed tasks only
#7530
feat(reporter): --silent=passed-only
to log failed tasks only
#7530
Conversation
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
a70b208
to
797ade9
Compare
797ade9
to
ffeef20
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 was wondering how you would know whether it's success or failing when logging, but I realized it's buffering till the end --silent=passed-only
. Obviously this is the only way, so just note for myself. 😃
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.
Looks good!
Thank you @AriPerkkio! Feel free to rebase if you wish. @hi-ogawa @sheremet-va Would this be viable to make it in for vitest 3.1? |
Description
Adds
--silent=passed-only
that can be used to print logs from failing tests only.Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.