Comments (2)
I just tested this code with [email protected] and it works as expected. @JaKXz this report mentions node 4.4.0 which means that it was tested against a version older than 12.x. So possibly the upgrade to babel 7 fixed this issue.
from istanbuljs.
Sorry for the extremely late reply, but, if this is still happening in the latest nyc (which it probably is, I can't think of a fix recently that worked on this) then it's most likely a bug with the underlying instrumentation library. I'm going to move this issue there, thanks for filing!
from istanbuljs.
Related Issues (20)
- Incorrect index in the result json file
- Security finding in istanbul-lib-report HOT 4
- security issue with semver in istanbul-lib-instrument HOT 1
- Simple fix: Filter not working on firefox HOT 7
- we need `babel-plugin-istanbul` for vue3
- [email protected] introduced breaking change by updating make-dir HOT 1
- [istanbul-lib-coverage] After `istanbul-lib-coverage` merge, unexpected `branch not covered` at trailing char `{` HOT 1
- Circular Dependency Issue
- Upgrade Node.js LTS Version and package.json Update
- [report/html-spa] Incorrect placement of root index.html when there's only one top level folder
- Parcel v2 istanbul-parcel-transformer
- No function coverage for named exports in barrel file
- [Bug]: Coverage calculation is off when a React.lazy line spans multiple lines HOT 1
- [Bug] Unable to merge coverage for the same file HOT 5
- Can the full display width of only the export statement coverage in the file be adjusted to be consistent with the normal one?
- TypeError: Cannot read properties of null (reading 'split')
- Incorrect line count - (Incorrect 'if path not taken')
- Usage with vite-plugin-istanbul, remix, playwright
- Class fields instrumentation breaks name inferences
- [Feature] Support merging MappedCoverage with FileCoverage from the same files
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 istanbuljs.