@sinonjs/samsam
Advanced tools
Comparing version 6.1.2 to 6.1.3
@@ -194,2 +194,15 @@ "use strict"; | ||
// jQuery objects have iteration protocols | ||
// see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | ||
// But, they don't work well with the implementation concerning iterables below, | ||
// so we will detect them and use jQuery's own equality function | ||
/* istanbul ignore next -- this can only be tested in the `test-headless` script */ | ||
if ( | ||
actualObj.constructor && | ||
actualObj.constructor.name === "jQuery" && | ||
typeof actualObj.is === "function" | ||
) { | ||
return actualObj.is(expectationObj); | ||
} | ||
var isActualNonArrayIterable = | ||
@@ -196,0 +209,0 @@ isIterable(actualObj) && |
{ | ||
"name": "@sinonjs/samsam", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"description": "Value identification and comparison functions", | ||
@@ -5,0 +5,0 @@ "homepage": "http://sinonjs.github.io/samsam/", |
85660
1726