Allow `--nycrc-path` to be absolute
See original GitHub issueAt the moment --nycrc-path value must be relative. It would be great if this could be absolute as well.
My use case: I have a module with shared development tasks that I use in many libraries. One of those tasks is running tests with nyc. The nyc configuration is always the same, i.e. I want to specify it inside that shared module instead of inside each library.
I cannot use --cwd as it would impact test coverage (not just configuration loading). I.e. I need to use __dirname with an absolute path.
My current workaround is to use CLI flags instead of a configuration file, but a configuration file would be better.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
load-nyc-config/README.md at master · istanbuljs ... - GitHub
nycrcPath. Type: string Default: undefined. Name of the file containing nyc configuration. This can be a relative or absolute path. Relative paths can...
Read more >client/node_modules/@istanbuljs/load-nyc-config/README.md
nycrcPath. Type: string Default: undefined. Name of the file containing nyc configuration. This can be a relative or absolute path.
Read more >Using Absolute and Relative References - YouTube
Excel Relative vs Absolute Cell References · Excel 2019 Exam MO-200 - Using Relative, Absolute, and Mixed References · MS Excel - Cell...
Read more >How to Use Absolute Cell Reference in Excel - YouTube
We use an absolute cell reference in Excel calculations when we need to keep the reference to a cell in a formula constant....
Read more >How to Use Absolute & Relative Cell References in Microsoft ...
We often add cell references to our formulas in Microsoft Excel. Just as the name suggests, they are references to other cells.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The new release of
find-uphas been made and will fix this issue once we’re able to release nyc@15. I’m going to close this issue as no further action will happen here, bumpingfind-upwill happen as part of a mass dependency update. Please follow #1104 for progress updates about the next release of nyc.@ehmicky this will be supported by the next release of
find-up, once that is released and we upgrade this issue will be fixed. The next version offind-upwill require node.js 8 so the plan is that this will be fixed in nyc@15. I can’t promise 15.0.0, it depends on when the nextfind-uprelease occurs.