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 8c2a128d0c6d438abc972715246b4d6d0e7a6235..2726aac56588e943af0b9d6053f8d6cd968195b7 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 4efbf68faa2ad85a9f9b8fa34e7641053f3315f5..82bdcadf3f8ebb10d7673eb3658773cf463decd0 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() {