Is there a way to see the best console output when running tests using Jest?
Every time the test fails, regardless of the problem, I see only the following output in the console
Found 1 matching tests...
FAIL test\jestTests\xxx.spec.js (1.468s)
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Also, if all the tests in the file pass single output, I see the following
Found 1 matching tests...
PASS test\jestTests\xxx.spec.js (1.716s)
I thought it was better to get the result if I installed
jasmine.VERBOSE = true;
but it does not change anything. It seems strange that you will not get much more than this with the default setting. Am I something wrong here?
source
share