Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to store nyc output with relative path? #1561

Open
shivamsouravjha opened this issue May 14, 2024 · 0 comments
Open

is it possible to store nyc output with relative path? #1561

shivamsouravjha opened this issue May 14, 2024 · 0 comments

Comments

@shivamsouravjha
Copy link

shivamsouravjha commented May 14, 2024

  • 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant