nyc
nyc copied to clipboard
is it possible to store nyc output with relative path?
- If I am generating nyc coverage in one machine, share the repo and try running the coverage command on other machine
npx nyc report --temp-directory=.nyc_output --verbose
Current behaviou is that I get 0 coverage, reason being the file path has changed while switching machines.
Is it possible to generate the .json
files with relative paths to the current repo so that after switching machine I would get the report with the same nyc data?