Innovenergy_trunk/frontend/node_modules/is-jquery-obj/test.js

9 lines
249 B
JavaScript
Raw Normal View History

const assert = require('assert');
const isjQueryObj = require('./index');
it('Test cases', () => {
assert.equal(isjQueryObj(void 0), false);
assert.equal(isjQueryObj({}), false);
assert.equal(isjQueryObj({ jquery: {}}), true);
});