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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

--silent shows console groups #9018

Closed
eranimo opened this issue Oct 7, 2019 · 2 comments 路 Fixed by #9024
Closed

--silent shows console groups #9018

eranimo opened this issue Oct 7, 2019 · 2 comments 路 Fixed by #9024

Comments

@eranimo
Copy link
Contributor

eranimo commented Oct 7, 2019

馃悰 Bug Report

If you run jest with the --silent flag, console groups are printed.

To Reproduce

Steps to reproduce the behavior:

  1. Make a test with console.group or console.groupCollapsed
  2. Run Jest with --silent
  3. Observe console groups outputted (bad), but no console logs (good)

Expected behavior

No console output of any kind should be outputted.

envinfo

Running with no config with Jest v24.9.0

npm i jest@24.9.0 --save-dev
@thymikee
Copy link
Collaborator

thymikee commented Oct 8, 2019

Looks like these are not added to NullConsole, would you like to fix it? :) (and make sure all methods from CustomConsole are there)

@github-actions
Copy link

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.
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 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants