Object | Function
{}
First you need to enable the "Unit Test" function using new command.
Corresponding to the configuration of Jest, when of type Object
, all underlying configurations supported by Jest can be configured.
When the value is of type Function
, the default configuration is passed in as the first parameter and a new Jest configuration object needs to be returned.