is any option for verbore output for testing by jest?
I can see which modules are mocked.
I tried
jasmine.VERBOSE = true;
but not working.
Thanks for answer.
Jest by default prints all console. log (warnings, errors, etc) messages to the console. That's great – it helps you understand what's going on in your code when tests run.
Even distribution of test suites across workers If you're running your test suites in parallel (enabled by default), jest will cache information about how long each of your test suites takes to run.
To get verbose mode in Jest, you can run Jest with the --verbose
tag.
In your packages.json
, you can write:
"scripts": {
"test": "jest --verbose"
},
Then you can run npm test
Alternatively, if you are using gulp-jest
, to get Jest in verbose mode, find the index.js
file of the gulp-jest
folder in node_modules
and add a verbose: true to the jest.runCLI
block.
jest.runCLI({
config: options,
verbose: true
}
simple add in package.json
{
...
...
"jest": {
"verbose": true
},
...
...
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With