From 6be2102b64baafada68bf8cef0e6a966b6b34072 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Fri, 26 Mar 2021 17:27:14 -0700 Subject: [PATCH] Built distribution --- lib/jasmine-core/jasmine.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/jasmine-core/jasmine.js b/lib/jasmine-core/jasmine.js index d0b944f4..b4909f79 100644 --- a/lib/jasmine-core/jasmine.js +++ b/lib/jasmine-core/jasmine.js @@ -1016,7 +1016,7 @@ getJasmineRequireObj().Env = function(j$) { * Null causes the seed to be determined randomly at the start of execution. * @name Configuration#seed * @since 3.3.0 - * @type function + * @type (number|string) * @default null */ seed: null, @@ -4892,6 +4892,17 @@ getJasmineRequireObj().MatchersUtil = function(j$) { diffBuilder.recordMismatch(); } return result; + case '[object ArrayBuffer]': + // If we have an instance of ArrayBuffer the Uint8Array ctor + // will be defined as well + return self.eq_( + new Uint8Array(a), // eslint-disable-line compat/compat + new Uint8Array(b), // eslint-disable-line compat/compat + aStack, + bStack, + customTesters, + diffBuilder + ); // RegExps are compared by their source patterns and flags. case '[object RegExp]': return (