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

Install Socket

Detect and block malicious and high-risk dependencies

Install

oftype - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

{
"name": "oftype",
"version": "0.0.1",
"version": "0.1.0",
"description": "A JavaScript module for checking variable runtime type",

@@ -26,4 +26,5 @@ "main": "oftype.js",

"devDependencies": {
"ddt": "0.0.3"
"mocha": "*",
"ddt": "0.1.0"
}
}

@@ -57,3 +57,5 @@ var oftype = require('../oftype');

return expected == actual;
}
},
groupName: 'Test group 1'
};

@@ -60,0 +62,0 @@

@@ -14,8 +14,9 @@ var oftype = require('../oftype');

validate: function(expected, actual) {
return expected == actual;
groupName: 'Test group 2',
before: function() {
oftype.nullAsObject = true;
}
};
oftype.nullAsObject = true;
ddt.test(config);