Socket
Socket
Sign inDemoInstall

karma-spec-reporter

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-spec-reporter - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

10

index.js

@@ -56,4 +56,10 @@ require('colors');

//TODO: add timing information
var msg = indent + status + specName, specName
if(this.USE_COLORS) {
if(result.skipped) specName = specName.cyan;
else if(!result.success) specName = specName.red;
}
var msg = indent + status + specName;
result.log.forEach(function(log) {

@@ -88,3 +94,3 @@ msg += formatError(log, '\t');

this.specSuccess = reporterCfg.suppressPassed ? noop : this.writeSpecMessage(this.USE_COLORS ? '✓ '.green : '✓ ');
this.specSkipped = reporterCfg.suppressSkipped ? noop : this.writeSpecMessage(this.USE_COLORS ? '- '.grey : '- ');
this.specSkipped = reporterCfg.suppressSkipped ? noop : this.writeSpecMessage(this.USE_COLORS ? '- '.cyan : '- ');
this.specFailure = reporterCfg.suppressFailed ? noop : this.writeSpecMessage(this.USE_COLORS ? '✗ '.red : '✗ ');

@@ -91,0 +97,0 @@ };

2

package.json
{
"name": "karma-spec-reporter",
"version": "0.0.10",
"version": "0.0.11",
"description": "A Karma plugin. Report all spec-results to console (like mocha's spec reporter).",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc