Socket
Socket
Sign inDemoInstall

mocha

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

2

lib/interfaces/common.js

@@ -116,2 +116,4 @@ 'use strict';

throw new Error('Suite "' + suite.fullTitle() + '" was defined but no callback was supplied. Supply a callback or explicitly skip the suite.');
} else if (!opts.fn && suite.pending) {
suites.shift();
}

@@ -118,0 +120,0 @@

2

lib/runnable.js

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

}
debug('timeout %d', ms);
debug('slow %d', ms);
this._slow = ms;

@@ -109,0 +109,0 @@ return this;

@@ -268,6 +268,6 @@ 'use strict';

this.fail(hook, err);
if (this.suite.bail()) {
this.emit('end');
}
this.fail(hook, err);
};

@@ -274,0 +274,0 @@

{
"name": "mocha",
"version": "5.0.4",
"version": "5.0.5",
"description": "simple, flexible, fun test framework",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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