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); |
6990
8
122
2