You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to run coverage on the spec files outside the root directory (where package.json resides). Please find the screenshot attached and let me know if i am doing anything wrong here. Why the relative path doesn't work?
NYC should be able to run coverage on files using relative paths too.
Observed Behavior
Forensic Information
Operating System: the operating system you observed the issue on. Environment Information: information about your project's environment, see instructions below:
run the following script:
sh -c 'node 8.9.4; npm 5.6.0; npm ls' > output.txt
share a gist with the contents of output.txt.
The text was updated successfully, but these errors were encountered:
@sampathkumarm sorry for the late reply! Can you please provide a minimal reproduction repo with the latest version of nyc? Have you set your include array to look in your relative path? As documented nyc looks in your cwd by default unless told otherwise.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am unable to run coverage on the spec files outside the root directory (where package.json resides). Please find the screenshot attached and let me know if i am doing anything wrong here. Why the relative path doesn't work?
NYC should be able to run coverage on files using relative paths too.
Observed Behavior
Forensic Information
Operating System: the operating system you observed the issue on.
Environment Information: information about your project's environment, see instructions below:
sh -c 'node 8.9.4; npm 5.6.0; npm ls' > output.txt
The text was updated successfully, but these errors were encountered: