1global.expect = require('chai').expect; 2var has = require('../src'); 3 4 5describe('has', function() { 6 it('works!', function() { 7 expect(has({}, 'hasOwnProperty')).to.be.false; 8 expect(has(Object.prototype, 'hasOwnProperty')).to.be.true; 9 }); 10}); 11 12