Ignoring files For testing
Ignoring Specific files for Test Suites
Ignoring Specific files for Test Suites
Ignoring specific files for test suites have benefits as we do not want to be testing redundant code or testing a code with the intention of just testing the code without testing the functionality. Navigate to the package.json, here we have the jest configuration. we have added the files which we would like to ignore in the "coveragePathIgnorePatterns", so that they will not be added into the project
Last updated
Was this helpful?