DEV Community

loading...

Jest - Else path not taken !!!

dhanushxeno profile image DHANUSH N ・1 min read

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

🙏🙏🙏

Discussion (0)

pic
Editor guide