-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
How to disable "Determining test suites to run" text? #4465
Comments
We could change it, but we are writing this before creating the |
In this case, I don't want the user to have to specify In other words, I want to ensure that the only output jest produces, period, comes from the custom reporter. |
Yeah, that makes sense to me. Happy to review PRs for this :) |
Do you have any suggestions about where to start? It seems like constructing the If so, should this instance method only control this output, or should it be generic enough to control all output? One possible signature is Thoughts? |
I'm going to merge this into #4471 because @aaronabramov is exploring how to expand reporters and take them out of the lifecycle of |
^ I should add @aaronabramov was planning on doing this this week. |
i was experimenting with it last night.. and i think it would be awesome to only print to stdout/stderr from reporters and ship the default reporter in a modular way (maybe as a separate package) so it can be extended/modified. i was able to get 95% of it done, the only problem we have with that is that our globalConfig is not immutable and changes throughout the flow. Once we get this fixed we can fully switch to using reporters for any logging. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It looks like the initial text "Determining test suites to run" only can be hidden by "not being a TTY" or by "being CI".
Is there any way a custom reporter could suppress this information?
I'm trying to parse the output, and this additional (colored) output makes it more difficult. Currently I can set
CI=true
or similar, but this is only a temporary workaround - I'd like it to be implied by the custom reporter, if possible.The text was updated successfully, but these errors were encountered: