DEV Community 👩‍💻👨‍💻

Dhanush N
Dhanush N

Posted on

Jest - Else path not taken !!!

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 !!!


Top comments (0)

🌚 Turn on dark mode

🔠 Change your default font

📚 Adjust your experience level to see more relevant content


Head to your account's Settings to do all this and more.