diff --git a/test/built-ins/TypedArrayConstructors/from/BigInt/custom-ctor-returns-smaller-instance-throws.js b/test/built-ins/TypedArrayConstructors/from/BigInt/custom-ctor-returns-smaller-instance-throws.js index 8c2a128d0c..2726aac565 100644 --- a/test/built-ins/TypedArrayConstructors/from/BigInt/custom-ctor-returns-smaller-instance-throws.js +++ b/test/built-ins/TypedArrayConstructors/from/BigInt/custom-ctor-returns-smaller-instance-throws.js @@ -22,7 +22,7 @@ includes: [testBigIntTypedArray.js] features: [BigInt, Symbol.iterator, TypedArray] ---*/ -var sourceItor = [1, 2]; +var sourceItor = [1n, 2n]; var sourceObj = { length: 2 }; diff --git a/test/built-ins/TypedArrayConstructors/from/BigInt/mapfn-abrupt-completion.js b/test/built-ins/TypedArrayConstructors/from/BigInt/mapfn-abrupt-completion.js index 4efbf68faa..82bdcadf3f 100644 --- a/test/built-ins/TypedArrayConstructors/from/BigInt/mapfn-abrupt-completion.js +++ b/test/built-ins/TypedArrayConstructors/from/BigInt/mapfn-abrupt-completion.js @@ -18,7 +18,7 @@ features: [BigInt, TypedArray] ---*/ var source = { - "0": 42, + "0": 42n, length: 2 }; var mapfn = function() {