Comments (9)
Worked on my machine with 5.1.1
yargs/yarsay#6
from nyc.
@jamestalmage mind trying it with a linked copy of nyc
on master
. I thought we'd fixed this, but I can't seem to get it not to explode.
from nyc.
yep - it explodes with a linked copy.
from nyc.
@jamestalmage for the life of me I can not seem to isolate the change that is causing this exception in yarsay
-- it almost seems like a race condition:
- I rolled nyc back to
5.1.1
and linked in, was able to successfully output anlcov
report a few times. - I moved forward to the next commit, ran tests, and the report again started throwing an exception.
- I pulled in your most recent fix, and continue to have problems.
I have not seen things fail unless the --cache
flag is set, really confused.
from nyc.
I moved forward to the next commit, ran tests, and the report again started throwing an exception.
718a319 definitely broke things.
I pulled in your most recent fix, and continue to have problems.
#127? That should have fixe what 718a319 broke
from nyc.
make sure to clear node_modules/.cache
and the self coverage files.
from nyc.
Oh, didn't know to remove self coverage will give that a shot.
On Saturday, January 2, 2016, James Talmage [email protected]
wrote:
make sure to clear node_modules/.cache and the self coverage files.
—
Reply to this email directly or view it on GitHub
https://github.com/bcoe/nyc/issues/124#issuecomment-168447601.
from nyc.
Regenerating self-coverage should also work. We automatically use self-coverage if it exists. If you pull in a change, and try to use it immediately before generating new self-coverage via node ./build-self-coverage.js
(which is part of npm test
), then you are actually using covered code from before the merge.
I usually just do npm run clean
in nyc
to delete the self coverage. Self coverage shouldn't create problems as long as it is up to date, but I'm just paranoid.
It's also annoying when hunting a bug while linked (your changes to the uncovered code will not be used if *.covered.js
exists), so my process is usually to just delete it.
from nyc.
fixed by: #127
from nyc.
Related Issues (20)
- How to include files with 0% coverage in all files coverage? HOT 2
- Is this repository deprecated/abandoned? HOT 3
- nyc report is directed to coverage/webpack: folder which cant be resolved
- ERROR: Coverage for lines (0%) does not meet global threshold (90%) HOT 6
- empty report issue
- nyc.config.js in `"type": "module"` project
- How to use nyc istanbul to generate code coverage ( Code Instrumentation ) without unit testing in Angular Project
- Why is nyc coverage with typescript (using mocha) returning zero coverage HOT 2
- Maximum call stack size exceeded at /.../[email protected] HOT 1
- [email protected] Vulnerability within [email protected] HOT 5
- Error "JavaScript heap out of memory" in v15.1.0 HOT 2
- Getting error while creating test report using Junit
- Inconsistency in .nyc_output causing nyc annotator crash HOT 1
- nyc mocha is showing unknown(0%) code coverage with typescript module.
- Clears Code Coverage Data and Resets Coverage Context When Child Processes Are Created
- `nyc` + `esm` is broken in latest NodeJS versions HOT 17
- Stuck at extraction
- Jest and Cypress's coverage merged results is wrong
- nyc should use nodejs module customization hooks rather than monkey patching
- Node v20: TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('128SIGINT') HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyc.