Comparing version 0.1.8 to 0.1.9
@@ -89,3 +89,3 @@ /* | ||
reportingDir = opts.dir || path.resolve(process.cwd(), 'coverage'); | ||
mkdirp.sync(reportingDir); | ||
mkdirp.sync(reportingDir); //ensure we fail early if we cannot do this | ||
reportClassName = opts.report || DEFAULT_REPORT_FORMAT; | ||
@@ -137,2 +137,3 @@ reports.push(Report.create(reportClassName, { dir: reportingDir })); | ||
//everything that happens in this exit handler MUST be synchronous | ||
mkdirp.sync(reportingDir); //yes, do this again since some test runners could clean the dir initially created | ||
console.log('============================================================================='); | ||
@@ -139,0 +140,0 @@ console.log('Writing coverage object [' + file + ']'); |
@@ -261,2 +261,4 @@ /* | ||
* the common case of a single coverage object | ||
* @method summarizeCoverage | ||
* @static | ||
* @param {Object} coverage the coverage object | ||
@@ -263,0 +265,0 @@ * @return {Object} summary coverage metrics across all files in the coverage object |
{ | ||
"name": "istanbul", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale", | ||
@@ -5,0 +5,0 @@ "keywords": "coverage,code coverage, JS code coverage, JS coverage", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7310
462536