Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude files from Cypress.io Coverage Report

Hi Im using cypress coverage report but I have a class which houses all touch device specific functionality and as I'm running the tests on my Mac, they never run. Is there any way to exclude this class?

like image 499
Luke Snowden Avatar asked Oct 12 '25 13:10

Luke Snowden


1 Answers

you might want to check cypress coverage readme:

...

"nyc": {
   "include": [...],
   "exclude": [...]
}

...

like image 104
vandries Avatar answered Oct 16 '25 05:10

vandries