mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/Zos.git
synced 2026-06-15 18:36:21 +00:00
11 lines
253 B
JavaScript
11 lines
253 B
JavaScript
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;
|
|
});
|
|
});
|