Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testing

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testing - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

27

index.js

@@ -163,6 +163,16 @@ 'use strict';

}
var run = false;
// start the timer
var running = setTimeout(function()
{
var message = 'Package tests did not call back';
if (callback)
{
return callback(message);
}
log.error(message);
}, timeout);
// run the tests
async.series(tests, function(error, result)
{
run = true;
clearTimeout(running);
if (callback)

@@ -173,15 +183,2 @@ {

});
// give it time
setTimeout(function()
{
if (!run)
{
var message = 'Package tests did not call back';
if (callback)
{
return callback(message);
}
log.error(message);
}
}, timeout);
}

@@ -188,0 +185,0 @@

{
"name": "testing",
"version": "0.0.2",
"version": "0.0.3",
"description": "Simple testing framework.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/alexfernandez/testing",

@@ -100,3 +100,3 @@ # testing

#### testing.assertEquals(expected, actual, [message], [callback])
#### testing.assertEquals(actual, expected, [message], [callback])

@@ -103,0 +103,0 @@ Check that the given values are equal. Uses weak equality (==).

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