fdecampredon / istanbulify Goto Github PK
View Code? Open in Web Editor NEWbrowserify v2 plugin that allows you to instrument your source using istanbul
License: Apache License 2.0
browserify v2 plugin that allows you to instrument your source using istanbul
License: Apache License 2.0
E.g. read package.json for
"istanbulify": {
"ignore": {
'./somepath'
}
}
or make compatible with the popular browserify-shim transform
Right now if you bundle externals they get covered
Hi, this has been very useful. I do have on issue that if others are seeing, would be nice to have addressed: I get a coverage report such as:
coverage/ | 82.15 | 58.46 | 80.36 | 74.45 |
mybrowserified.js | 82.15 | 58.46 | 80.36 | 74.45 |
mylib/js/ | 94.75 | 81.21 | 95.74 | 96.28 |
file1.js | 100 | 100 | 100 | 100 |
file2.js | 90.57 | 90 | 86.96 | 90.2 |
.....
I want to run istanbul on file1.js and file2.js, not on the code added by the browserify process. According to the report above, my files have 81% statement coverage, but after adding in the browserify code, its only 58%. Which then throws errors in my system for terrible coverage.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.