Skip to content

Commit

Permalink
hats, has module
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Aug 5, 2014
1 parent 17894ca commit 6ecc842
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 1 addition & 4 deletions lib/test.js
Expand Up @@ -4,6 +4,7 @@ var defined = require('defined');
var path = require('path');
var inherits = require('inherits');
var EventEmitter = require('events').EventEmitter;
var has = require('has');

module.exports = Test;

Expand Down Expand Up @@ -456,10 +457,6 @@ Test.prototype.doesNotThrow = function (fn, expected, msg, extra) {
});
};

function has (obj, prop) {
return Object.prototype.hasOwnProperty.call(obj, prop);
}

Test.skip = function (name_, _opts, _cb) {
var args = getTestArgs.apply(null, arguments);
args.opts.skip = true;
Expand Down
9 changes: 5 additions & 4 deletions package.json
Expand Up @@ -11,11 +11,12 @@
"dependencies": {
"deep-equal": "~0.2.0",
"defined": "~0.0.0",
"glob": "~3.2.9",
"inherits": "~2.0.1",
"object-inspect": "~0.4.0",
"glob": "^3.2.9",
"inherits": "^2.0.1",
"object-inspect": "^1.0.0",
"resumer": "~0.0.0",
"through": "~2.3.4"
"through": "^2.3.4",
"has": "~0.0.1"
},
"devDependencies": {
"tap" : "~0.4.8",
Expand Down

0 comments on commit 6ecc842

Please sign in to comment.