Jest: --silent shows console groups

Created on 7 Oct 2019  路  1Comment  路  Source: facebook/jest

馃悰 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 [email protected] --save-dev
Bug good first issue

Most helpful comment

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings