Regression: nyc 15 creates output folder in wrong location and doesn't create HTML report at all
See original GitHub issueRepo Steps
Execute npm test with the following configuration using nyc 15.0 (beta):
"nyc": {
"all": true,
"exclude": [
"**/index.ts",
"**/*.d.ts",
"**/*.js"
],
"extension": [
".ts",
".tsx"
],
"reporter": [
"html"
],
"report-dir": "../TypeScriptUnitTest/coverage",
"temp-directory": "../TypeScriptUnitTest/.nyc_output"
},
"scripts": {
"test": "nyc --cwd ../Application mocha -r ts-node/register -r source-map-support/register -r jsdom-global/register **/*.spec.ts"
}
Expected Behavior
Creation of a folder TypeScriptUnitTest\.nyc_output\ with the raw nyc output and a folder TypeScriptUnitTest\coverage\ with the code coverage report.
Observed Behavior
The output folder is in the wrong location (Application\.nyc_output\) and the coverage\ folder isn’t created at all (so there is no report).
Notes
This is a regression since this setup has worked for over a year without any issues using nyc versions 12.0.2 and 14.1.1.
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Jenkins could not generate HTML Report folder on slave ...
Click on Workspace Button and navigate until the HTML report folder appears. ... Does not affect the rest of the configuration settings on...
Read more >D Learning Check Solutions | Statistical Inference via Data ...
What makes them different than quantitative variables? Solution: Hint: Type ?flights in the console to see what all the variables mean! Categorical:.
Read more >MIS 175 Section 4 - Second Midterm Examination
1. In regression analysis, the model in the form is called ... The variance of the error term is the same for all...
Read more >F-02 FIRE GUARD FOR SHELTERS (Citywide) - NYC.gov
This Certificate of Fitness must be renewed every THREE YEARS. The renewal fee is. $15. FDNY also reserves the right to require the...
Read more >Report of Change in Ownership or Address
owner/managing agent or a change in the address for the owner/managing agent. ... If the building is registered with the New York City...
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

That looks much better! 😃
I’ve published
@istanbuljs/load-nyc-config1.0.0-alpha.2 with the fix. You should be able to revert the last commit on your demo repository, delete package-lock.json and node_modules then reinstall.