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.6.2 to 2.0.0

lib/bdd.js

9

package.json
{
"name":"highkick",
"version":"1.6.2",
"version":"2.0.0",
"description":"Asynchronous, no-style, super simple testing tool.",

@@ -8,3 +8,3 @@ "author":"Azer Koculu <azer@kodfabrik.com>",

"directories":{ "lib": "./lib" },
"main":"./lib/highkick.js",
"main":"./lib/index.js",
"bin":{

@@ -14,4 +14,5 @@ "highkick":"./bin/highkick"

"dependencies":{
"style":"0.1.x",
"optimist":"0.x"
"chai": "1.x",
"style": "0.1.x",
"optimist": "0.x"
},

@@ -18,0 +19,0 @@ "repository": { "type":"git", "url" : "http://github.com/azer/highkick.git" },

@@ -1,10 +0,27 @@

var assert = require('assert'),
highkick = require('../lib/highkick');
var testNested = kick('./nested'),
testParams = kick('./params'),
testChai = kick('./chai');
var testNested = highkick('./nested'),
testParams = highkick('./params'),
testAsync = highkick({ 'path': './async', 'async': true });
var i = 0;
module.exports = {
'testChai' : testChai,
'testTimeout' : testTimeout,
'testSyncPass' : testSyncPass,
'testInitFail' : testInitFail,
'testSimpleAsync' : testSimpleAsync,
'testFail' : testFail,
'testNested' : testNested,
'testParams' : testParams,
'testIsEnabled' : testIsEnabled
};
it('fails', function(){
// err++
});
function testSyncPass(){
// pass;
}
function testInitFail(callback){

@@ -33,17 +50,18 @@ highkick('./init_fail', function(error, result){

function testTimeout(callback){
highkick('./timeout', { timeout: 200 }, function(error, result){
assert.equal(result.fail, 2);
callback();
});
}
function testIsEnabled(callback){
var isEnabled = highkick.isEnabled;
var isEnabled = require('../lib/is-enabled');
assert.ok(!isEnabled('foo'));
assert.ok(isEnabled('foo', '*'));
assert.ok(isEnabled('foo', 'foo'));
assert.ok(isEnabled('testFoo', 'foo'));
assert.ok(isEnabled('test_foo', 'foo'));
assert.ok(!isEnabled('bar', 'foo'));
assert.ok(isEnabled('bar', 'foo,bar'));

@@ -54,11 +72,1 @@

}
module.exports = {
'testInitFail': testInitFail,
'testSimpleAsync': testSimpleAsync,
'testFail': testFail,
'testNested': testNested,
'testParams': testParams,
'testIsEnabled': testIsEnabled,
'testAsync': testAsync
}

@@ -1,3 +0,1 @@

var assert = require('assert');
function init(options, callback){

@@ -4,0 +2,0 @@ callback(null, options);

@@ -1,3 +0,2 @@

var assert = require('assert'),
i = 0;
var i = 0;

@@ -4,0 +3,0 @@ function init(options, callback){

Sorry, the diff of this file is not supported yet

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