Disable self-coverage and return to regular files
mainWhen self-coverage is enabled, nyc uses index.covered.js instead of the normal files. This means changes to your standard source files (like index.js) will not be reflected until the self-coverage files are removed. To revert to regular files, run the clean script in the nyc directory.
# Go to nyc directory and remove the self coverage scripts
cd /user/dev/nyc
npm run clean