UNPKG

data-provider-temporary

Version:

Library that helps with server-to-client synchronization of data

11 lines (8 loc) 253 B
global.expect = require('chai').expect; var has = require('../src'); describe('has', function() { it('works!', function() { expect(has({}, 'hasOwnProperty')).to.be.false; expect(has(Object.prototype, 'hasOwnProperty')).to.be.true; }); });