Is your proposal related to a problem?
When executing tests that may output a number of log lines irrelevant to the test run it would be nice to hide those by using Jest's built in verbose option.
Describe the solution you'd like
Add verbose to the whitelist for jest options in createJestConfig.js. After making this modification locally I haven't run into any negative side effects.
Describe alternatives you've considered
-
Providing a custom logging interface seemed a bit excessive when this functionality is built into the test tool but is gated by a whitelist.
-
Removing the whitelist entirely and allow freeform Jest configuration.
Additional context
The suggestion to eject when trying to use a non-whitelisted jest configuration option seems a bit heavy handed vs a link to create an issue about adding a new option or an explanation as to why there is a whitelist.
Is your proposal related to a problem?
When executing tests that may output a number of log lines irrelevant to the test run it would be nice to hide those by using Jest's built in
verboseoption.Describe the solution you'd like
Add
verboseto the whitelist for jest options increateJestConfig.js. After making this modification locally I haven't run into any negative side effects.Describe alternatives you've considered
Providing a custom logging interface seemed a bit excessive when this functionality is built into the test tool but is gated by a whitelist.
Removing the whitelist entirely and allow freeform Jest configuration.
Additional context
The suggestion to eject when trying to use a non-whitelisted jest configuration option seems a bit heavy handed vs a link to create an issue about adding a new option or an explanation as to why there is a whitelist.