Socket
Socket
Sign inDemoInstall

karma-jasmine-diff-reporter

Package Overview
Dependencies
142
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

13

index.js

@@ -30,3 +30,3 @@ 'use strict';

this.specFailure = function (browser, result) {
self.specFailure = function (browser, result) {

@@ -46,2 +46,13 @@ result.log = result.log.map(function (message) {

// When using console.log from specs, Karma displays them through a method
// "onBrowserLog". In case, when multiple reporters are used in conjunction
// with karma-jasmine-diff-reporter, they both will show a console.log,
// because they both have implementation of this method if inheriting.
// So just suppress any logs from karma-jasmine-diff-reporter, because
// it is an utility reporter by doing nothing on browser log,
// unless it's alone in the "reporters" option and base reporter is used.
if (hasTrailingReporters) {
self.onBrowserLog = function () {};
}
}

@@ -48,0 +59,0 @@

2

package.json
{
"name": "karma-jasmine-diff-reporter",
"version": "0.2.0",
"version": "0.2.1",
"description": "Karma reporter to highlight diffs of failed equality expectations for Jasmine",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc