Jest - Else path not taken !!!

Dhanush N - Sep 17 '20 - - Dev Community

Is there any way to ignore the 'else path not taken' error while running the coverage report in jest in node js.

I would like to have a configuration in package.json file so that in all the files which are run while testing, this error should be ignored on the coverage report !!!

πŸ™πŸ™πŸ™

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .