mochawesome
Advanced tools
Comparing version 1.1.0 to 1.1.1
#Changelog | ||
###1.1.1 | ||
- Add filter icon in summary for better visibility (Completely new idea and not at all in response to [this](https://github.com/adamgruber/mochawesome/issues/5)) | ||
- Change util.print to console.log due to [deprecation](https://github.com/joyent/node/blob/master/doc/api/util.markdown#user-content-utilprint) | ||
###1.1.0 | ||
@@ -4,0 +8,0 @@ - Add support for options |
/*jshint loopfunc: true */ | ||
var util = require('util'), | ||
mocha = require('mocha'), | ||
var mocha = require('mocha'), | ||
_ = require('lodash'), | ||
@@ -110,3 +109,3 @@ uuid = require('node-uuid'), | ||
saveToFile(templates.mochawesome(obj), config.reportHtmlFile, function() { | ||
util.print('\n[' + chalk.gray('mochawesome') + '] Report saved to ' + config.reportHtmlFile + '\n\n'); | ||
console.log('\n[' + chalk.gray('mochawesome') + '] Report saved to ' + config.reportHtmlFile + '\n\n'); | ||
}); | ||
@@ -113,0 +112,0 @@ } |
var async = require('async'), | ||
fs = require('fs'), | ||
ncp = require('ncp'), | ||
util = require('util'), | ||
_ = require('lodash'), | ||
@@ -12,3 +11,3 @@ chalk = require('chalk'); | ||
function generateReport (config) { | ||
util.print('[' + chalk.gray('mochawesome') + '] Generating report files...\n'); | ||
console.log('[' + chalk.gray('mochawesome') + '] Generating report files...\n'); | ||
async.auto({ | ||
@@ -82,5 +81,5 @@ createDirs: function(callback) { | ||
} catch (err) { | ||
util.print('\n[' + chalk.gray('mochawesome') + '] Error: Unable to save ' + outFile + '\n' + err + '\n'); | ||
console.log('\n[' + chalk.gray('mochawesome') + '] Error: Unable to save ' + outFile + '\n' + err + '\n'); | ||
callback(err); | ||
} | ||
} |
{ | ||
"name": "mochawesome", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A Gorgeous HTML/CSS Reporter for Mocha.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
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
1116473
2553