diff --git a/tests/is/isArray.test.ts b/tests/is/isArray.test.ts index 129757a..7eaea2e 100644 --- a/tests/is/isArray.test.ts +++ b/tests/is/isArray.test.ts @@ -76,6 +76,12 @@ describe('is:isArray', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isArray(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isArray(value)).toEqual(false); diff --git a/tests/is/isAsyncFunction.test.ts b/tests/is/isAsyncFunction.test.ts index ec9cd9c..021b352 100644 --- a/tests/is/isAsyncFunction.test.ts +++ b/tests/is/isAsyncFunction.test.ts @@ -79,6 +79,12 @@ describe('is:isAsyncFunction', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isAsyncFunction(value)).toEqual(false); + }); + }); + it(`➖ functions !== || === ${KEY}`, () => { values.functions.forEach((value) => { expect(isAsyncFunction(value)).toEqual(value.constructor === AsyncFunction); diff --git a/tests/is/isBigInt.test.ts b/tests/is/isBigInt.test.ts index 3427a1d..7634bca 100644 --- a/tests/is/isBigInt.test.ts +++ b/tests/is/isBigInt.test.ts @@ -76,6 +76,12 @@ describe('is:isBigInt', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isBigInt(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isBigInt(value)).toEqual(false); diff --git a/tests/is/isBlank.test.ts b/tests/is/isBlank.test.ts index 0f3b4c5..869dd3e 100644 --- a/tests/is/isBlank.test.ts +++ b/tests/is/isBlank.test.ts @@ -184,6 +184,12 @@ describe('is:isBlank', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isBlank(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isBlank(value)).toEqual(false); diff --git a/tests/is/isBoolean.test.ts b/tests/is/isBoolean.test.ts index c57d0c0..d05f82a 100644 --- a/tests/is/isBoolean.test.ts +++ b/tests/is/isBoolean.test.ts @@ -87,6 +87,13 @@ describe('is:isBoolean', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isBoolean(value)).toEqual(false); + expect(isBoolean(value, true)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isBoolean(value)).toEqual(false); diff --git a/tests/is/isClass.test.ts b/tests/is/isClass.test.ts index 3d7f975..33f791f 100644 --- a/tests/is/isClass.test.ts +++ b/tests/is/isClass.test.ts @@ -76,6 +76,12 @@ describe('is:isClass', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isClass(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isClass(value)).toEqual(false); diff --git a/tests/is/isDate.test.ts b/tests/is/isDate.test.ts index 6e6b4ee..a959397 100644 --- a/tests/is/isDate.test.ts +++ b/tests/is/isDate.test.ts @@ -76,6 +76,12 @@ describe('is:isDate', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isDate(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isDate(value)).toEqual(false); diff --git a/tests/is/isElement.test.ts b/tests/is/isElement.test.ts index c675228..260ec22 100644 --- a/tests/is/isElement.test.ts +++ b/tests/is/isElement.test.ts @@ -76,6 +76,12 @@ describe('is:isElement', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isElement(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isElement(value)).toEqual(false); diff --git a/tests/is/isEmpty.test.ts b/tests/is/isEmpty.test.ts index 428ab84..822070e 100644 --- a/tests/is/isEmpty.test.ts +++ b/tests/is/isEmpty.test.ts @@ -168,6 +168,12 @@ describe('is:isEmpty', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isEmpty(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isEmpty(value)).toEqual(false); diff --git a/tests/is/isEvent.test.ts b/tests/is/isEvent.test.ts index 260bd8e..50950a0 100644 --- a/tests/is/isEvent.test.ts +++ b/tests/is/isEvent.test.ts @@ -76,6 +76,12 @@ describe('is:isEvent', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isEvent(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isEvent(value)).toEqual(false); diff --git a/tests/is/isFalsy.test.ts b/tests/is/isFalsy.test.ts index ca641fd..61f4df6 100644 --- a/tests/is/isFalsy.test.ts +++ b/tests/is/isFalsy.test.ts @@ -76,6 +76,12 @@ describe('is:isFalsy', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isFalsy(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isFalsy(value)).toEqual(false); diff --git a/tests/is/isFloat.test.ts b/tests/is/isFloat.test.ts index a793b96..8ffd071 100644 --- a/tests/is/isFloat.test.ts +++ b/tests/is/isFloat.test.ts @@ -92,6 +92,12 @@ describe('is:isFloat', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isFloat(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isFloat(value)).toEqual(false); diff --git a/tests/is/isFormData.test.ts b/tests/is/isFormData.test.ts index 359a735..d5217e1 100644 --- a/tests/is/isFormData.test.ts +++ b/tests/is/isFormData.test.ts @@ -76,6 +76,12 @@ describe('is:isFormData', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isFormData(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isFormData(value)).toEqual(false); diff --git a/tests/is/isFunction.test.ts b/tests/is/isFunction.test.ts index a2195b4..3d39b3d 100644 --- a/tests/is/isFunction.test.ts +++ b/tests/is/isFunction.test.ts @@ -76,6 +76,12 @@ describe('is:isFunction', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isFunction(value)).toEqual(false); + }); + }); + it(`✅ functions === ${KEY}`, () => { values.functions.forEach((value) => { expect(isFunction(value)).toEqual(true); diff --git a/tests/is/isInfinity.test.ts b/tests/is/isInfinity.test.ts index f8f50b6..e5485df 100644 --- a/tests/is/isInfinity.test.ts +++ b/tests/is/isInfinity.test.ts @@ -76,6 +76,12 @@ describe('is:isInfinity', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isInfinity(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isInfinity(value)).toEqual(false); diff --git a/tests/is/isInteger.test.ts b/tests/is/isInteger.test.ts index 0d10715..be14731 100644 --- a/tests/is/isInteger.test.ts +++ b/tests/is/isInteger.test.ts @@ -92,6 +92,12 @@ describe('is:isInteger', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isInteger(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isInteger(value)).toEqual(false); diff --git a/tests/is/isIterable.test.ts b/tests/is/isIterable.test.ts index 297fe15..85fe5a6 100644 --- a/tests/is/isIterable.test.ts +++ b/tests/is/isIterable.test.ts @@ -76,6 +76,12 @@ describe('is:isIterable', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isIterable(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isIterable(value)).toEqual(false); diff --git a/tests/is/isLengthy.test.ts b/tests/is/isLengthy.test.ts index 0a060f3..1db788c 100644 --- a/tests/is/isLengthy.test.ts +++ b/tests/is/isLengthy.test.ts @@ -76,6 +76,12 @@ describe('is:isLengthy', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isLengthy(value)).toEqual(false); + }); + }); + it(`✅ functions === ${KEY}`, () => { values.functions.forEach((value) => { expect(isLengthy(value)).toEqual(true); diff --git a/tests/is/isMap.test.ts b/tests/is/isMap.test.ts index 8e66a6a..35f850b 100644 --- a/tests/is/isMap.test.ts +++ b/tests/is/isMap.test.ts @@ -76,6 +76,12 @@ describe('is:isMap', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isMap(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isMap(value)).toEqual(false); diff --git a/tests/is/isNan.test.ts b/tests/is/isNan.test.ts index 631ee3c..d147942 100644 --- a/tests/is/isNan.test.ts +++ b/tests/is/isNan.test.ts @@ -76,6 +76,12 @@ describe('is:isNan', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isNan(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isNan(value)).toEqual(false); diff --git a/tests/is/isNodeList.test.ts b/tests/is/isNodeList.test.ts index 358b3b5..bf6a208 100644 --- a/tests/is/isNodeList.test.ts +++ b/tests/is/isNodeList.test.ts @@ -76,6 +76,12 @@ describe('is:isNodeList', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isNodeList(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isNodeList(value)).toEqual(false); diff --git a/tests/is/isNull.test.ts b/tests/is/isNull.test.ts index cbdbb5c..51784ea 100644 --- a/tests/is/isNull.test.ts +++ b/tests/is/isNull.test.ts @@ -78,6 +78,12 @@ describe('is:isNull', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isNull(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isNull(value)).toEqual(false); diff --git a/tests/is/isNullOrUndefined.test.ts b/tests/is/isNullOrUndefined.test.ts index 4576e26..e372fa8 100644 --- a/tests/is/isNullOrUndefined.test.ts +++ b/tests/is/isNullOrUndefined.test.ts @@ -76,6 +76,12 @@ describe('is:isNullOrUndefined', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isNullOrUndefined(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isNullOrUndefined(value)).toEqual(false); diff --git a/tests/is/isNumber.test.ts b/tests/is/isNumber.test.ts index 4f9e7e2..f92c7f4 100644 --- a/tests/is/isNumber.test.ts +++ b/tests/is/isNumber.test.ts @@ -128,6 +128,13 @@ describe('is:isNumber', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isNumber(value)).toEqual(false); + expect(isNumber(value, true)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isNumber(value)).toEqual(false); diff --git a/tests/is/isNumeric.test.ts b/tests/is/isNumeric.test.ts index 9b32cde..ec906a4 100644 --- a/tests/is/isNumeric.test.ts +++ b/tests/is/isNumeric.test.ts @@ -109,6 +109,12 @@ describe('is:isNumeric', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isNumeric(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isNumeric(value)).toEqual(false); diff --git a/tests/is/isObject.test.ts b/tests/is/isObject.test.ts index 4bd8bdc..5de497b 100644 --- a/tests/is/isObject.test.ts +++ b/tests/is/isObject.test.ts @@ -76,6 +76,12 @@ describe('is:isObject', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isObject(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isObject(value)).toEqual(false); diff --git a/tests/is/isOfType.test.ts b/tests/is/isOfType.test.ts index a53831a..337db46 100644 --- a/tests/is/isOfType.test.ts +++ b/tests/is/isOfType.test.ts @@ -162,6 +162,12 @@ describe('is:isOfType', () => { }); }); + it(`✅ DOM alternative contexts are of type -> derivative`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isOfType(value, 'derivative')).toEqual(true); + }); + }); + it(`✅ functions are of type -> function`, () => { values.functions.forEach((value) => { expect(isOfType(value, 'function')).toEqual(true); diff --git a/tests/is/isPrimitive.test.ts b/tests/is/isPrimitive.test.ts index 703266f..aace5fa 100644 --- a/tests/is/isPrimitive.test.ts +++ b/tests/is/isPrimitive.test.ts @@ -99,6 +99,12 @@ describe('is:isPrimitive', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isPrimitive(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isPrimitive(value)).toEqual(false); diff --git a/tests/is/isPromise.test.ts b/tests/is/isPromise.test.ts index 016e3ec..eb28004 100644 --- a/tests/is/isPromise.test.ts +++ b/tests/is/isPromise.test.ts @@ -76,6 +76,12 @@ describe('is:isPromise', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isPromise(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isPromise(value)).toEqual(false); diff --git a/tests/is/isSet.test.ts b/tests/is/isSet.test.ts index c87fabb..694f317 100644 --- a/tests/is/isSet.test.ts +++ b/tests/is/isSet.test.ts @@ -76,6 +76,12 @@ describe('is:isSet', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isSet(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isSet(value)).toEqual(false); diff --git a/tests/is/isSizey.test.ts b/tests/is/isSizey.test.ts index d430f90..a42c077 100644 --- a/tests/is/isSizey.test.ts +++ b/tests/is/isSizey.test.ts @@ -76,6 +76,12 @@ describe('is:isSizey', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isSizey(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isSizey(value)).toEqual(false); diff --git a/tests/is/isString.test.ts b/tests/is/isString.test.ts index 8677720..001c902 100644 --- a/tests/is/isString.test.ts +++ b/tests/is/isString.test.ts @@ -87,6 +87,13 @@ describe('is:isString', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isString(value)).toEqual(false); + expect(isString(value, true)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isString(value)).toEqual(false); diff --git a/tests/is/isSymbol.test.ts b/tests/is/isSymbol.test.ts index b90cd4f..7a73f5f 100644 --- a/tests/is/isSymbol.test.ts +++ b/tests/is/isSymbol.test.ts @@ -76,6 +76,12 @@ describe('is:isSymbol', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isSymbol(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isSymbol(value)).toEqual(false); diff --git a/tests/is/isSyncFunction.test.ts b/tests/is/isSyncFunction.test.ts index a784cee..3976757 100644 --- a/tests/is/isSyncFunction.test.ts +++ b/tests/is/isSyncFunction.test.ts @@ -76,6 +76,12 @@ describe('is:isSyncFunction', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isSyncFunction(value)).toEqual(false); + }); + }); + it(`➖ functions !== || === ${KEY}`, () => { values.functions.forEach((value) => { expect(isSyncFunction(value)).toEqual(value.constructor === Function); diff --git a/tests/is/isTextNode.test.ts b/tests/is/isTextNode.test.ts index e43e3ff..d20e896 100644 --- a/tests/is/isTextNode.test.ts +++ b/tests/is/isTextNode.test.ts @@ -76,6 +76,12 @@ describe('is:isTextNode', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isTextNode(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isTextNode(value)).toEqual(false); diff --git a/tests/is/isTruthy.test.ts b/tests/is/isTruthy.test.ts index 3c31431..894b59c 100644 --- a/tests/is/isTruthy.test.ts +++ b/tests/is/isTruthy.test.ts @@ -76,6 +76,12 @@ describe('is:isTruthy', () => { }); }); + it(`✅ DOM alternative contexts === ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isTruthy(value)).toEqual(true); + }); + }); + it(`✅ functions === ${KEY}`, () => { values.functions.forEach((value) => { expect(isTruthy(value)).toEqual(true); diff --git a/tests/is/isTypedAs.test.ts b/tests/is/isTypedAs.test.ts index c728229..0881f53 100644 --- a/tests/is/isTypedAs.test.ts +++ b/tests/is/isTypedAs.test.ts @@ -99,6 +99,12 @@ describe('is:isTypedAs', () => { }); }); + it(`✅ DOM alternative are of type -> derivative`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isTypedAs(value)).toEqual('derivative'); + }); + }); + it(`✅ functions are of type -> function`, () => { values.functions.forEach((value) => { expect(isTypedAs(value)).toEqual('function'); diff --git a/tests/is/isUndefined.test.ts b/tests/is/isUndefined.test.ts index f02e568..cfd7258 100644 --- a/tests/is/isUndefined.test.ts +++ b/tests/is/isUndefined.test.ts @@ -78,6 +78,12 @@ describe('is:isUndefined', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isUndefined(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isUndefined(value)).toEqual(false); diff --git a/tests/is/isUrlSearchParams.test.ts b/tests/is/isUrlSearchParams.test.ts index 0c886fe..87d70d0 100644 --- a/tests/is/isUrlSearchParams.test.ts +++ b/tests/is/isUrlSearchParams.test.ts @@ -76,6 +76,12 @@ describe('is:isUrlSearchParams', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isUrlSearchParams(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isUrlSearchParams(value)).toEqual(false); diff --git a/tests/is/isWeakMap.test.ts b/tests/is/isWeakMap.test.ts index 773f49f..254e6fd 100644 --- a/tests/is/isWeakMap.test.ts +++ b/tests/is/isWeakMap.test.ts @@ -76,6 +76,12 @@ describe('is:isWeakMap', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isWeakMap(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isWeakMap(value)).toEqual(false); diff --git a/tests/is/isWeakSet.test.ts b/tests/is/isWeakSet.test.ts index 9e9798c..b596467 100644 --- a/tests/is/isWeakSet.test.ts +++ b/tests/is/isWeakSet.test.ts @@ -76,6 +76,12 @@ describe('is:isWeakSet', () => { }); }); + it(`❌ DOM alternative contexts !== ${KEY}`, () => { + values.alternativeDOMs.forEach((value) => { + expect(isWeakSet(value)).toEqual(false); + }); + }); + it(`❌ functions !== ${KEY}`, () => { values.functions.forEach((value) => { expect(isWeakSet(value)).toEqual(false);