import { isDOM } from"../../utility/dom/isDOM";describe('isDOM', () => {test('isDOM should return `false` if received a non DOM object', () => {constorigin= [0,Number.MAX_SAFE_INTEGER,Number.MIN_VALUE,'','ddzy', {},true,false,function () { }, [], ];for (constvof origin) {expect(isDOM(v)).toBeFalsy(); } });test('isDOM should return `true` if received a DOM object', () => {constorigin= [document.createElement('div'),document.body ];for (constvof origin) {expect(isDOM(v)).toBeTruthy(); } });});