Socket
Socket
Sign inDemoInstall

mocha

Package Overview
Dependencies
1
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-alpha1 to 0.0.1-alpha2

2

lib/mocha.js

@@ -12,3 +12,3 @@

exports.version = '0.0.1-alpha1';
exports.version = '0.0.1-alpha2';

@@ -15,0 +15,0 @@ exports.interfaces = require('./interfaces');

@@ -67,3 +67,5 @@

exports.window = {
width: isatty ? tty.getWindowSize(1)[1] : 75
width: isatty
? process.stdout.getWindowSize(1)[0]
: 75
};

@@ -70,0 +72,0 @@

@@ -144,3 +144,5 @@

callback();
next(++i);
process.nextTick(function(){
next(++i);
});
} catch (err) {

@@ -151,3 +153,5 @@ fn(err);

next(0);
process.nextTick(function(){
next(0);
});
};

@@ -170,4 +174,6 @@

// sync
test.run();
fn();
process.nextTick(function(){
test.run();
fn();
});
} catch (err) {

@@ -174,0 +180,0 @@ fn(err);

{
"name": "mocha"
, "version": "0.0.1-alpha1"
, "version": "0.0.1-alpha2"
, "description": "Test framework inspired by JSpec, Expresso, & Qunit"

@@ -5,0 +5,0 @@ , "keywords": ["test", "bdd", "tdd", "tap"]

@@ -13,3 +13,5 @@

- proper exit status for CI support etc
- ideal for asynchronous APIs
- auto-detects and disables coloring for non-ttys
- maps uncaught exceptions to the correct test case
- async test timeout support

@@ -22,2 +24,4 @@ - growl notification support

- optionally run tests that match a regexp
- auto-exit to prevent "hanging" tests
- easily meta-generate suites & test-cases
- extensible reporting

@@ -28,3 +32,4 @@ - dot matrix

- progress bar
- spec list
- specification listing
- hierarchical specification
- streaming JSON

@@ -31,0 +36,0 @@ - JSON

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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