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

highkick

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highkick - npm Package Compare versions

Comparing version 1.3.4 to 1.4.0

test/init_fail.js

16

lib/highkick.js

@@ -80,3 +80,3 @@ var colors = require('colors');

if (error) {
return callback(error);
throw error;
}

@@ -161,7 +161,11 @@

if(options.ordered){
call(next);
} else {
call();
next();
try {
if(options.ordered){
call(next);
} else {
call();
next();
}
} catch(executionError) {
callback(executionError);
}

@@ -168,0 +172,0 @@

{
"name":"highkick",
"version":"1.3.4",
"version":"1.4.0",
"description":"Asynchronous, no-style, super simple testing tool.",

@@ -5,0 +5,0 @@ "author":"Azer Koculu <azer@kodfabrik.com>",

@@ -18,2 +18,10 @@ var assert = require('assert'),

function testInitFail(pi, callback){
highkick({ module:require('./init_fail'), 'silent':0, 'name':'init_fail' }, function(error, result){
console.log('@', error);
assert.ok(error);
callback();
});
}
function testSimple(pi, callback){

@@ -43,2 +51,4 @@ callback();

function testAsync1(pi, callback){

@@ -92,2 +102,3 @@ assert.equal(++counter, 1);

'init': init,
'testInitFail': testInitFail,
'testSimple': testSimple,

@@ -94,0 +105,0 @@ 'testSimpleAsync': testSimpleAsync,

var highkick = require('../lib/highkick'),
puts = require('sys').puts;
mkdir = require('fs').mkdir;
highkick({ 'name':' basic', 'module':require('./main') }, function(error, result){
if(error) throw error;
});
function clean(callback){
mkdir('tmp', 0755, function(){
callback();
});
}
function run(){
clean(function(){
highkick({ 'name':' basic', 'module':require('./main') }, function(error, result){
if(error) throw error;
});
});
}
run();
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