diff --git a/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-set-values-diff-buffer-other-type-sab.js b/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-set-values-diff-buffer-other-type-sab.js
index 344aceeda0be62efe2df1fff152b98792a8e5214..3145bc807596b1b54b6041ea58129ae960a67b22 100644
--- a/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-set-values-diff-buffer-other-type-sab.js
+++ b/test/built-ins/TypedArray/prototype/set/BigInt/typedarray-arg-set-values-diff-buffer-other-type-sab.js
@@ -13,7 +13,8 @@ features: [BigInt, SharedArrayBuffer, TypedArray]
 
 testWithBigIntTypedArrayConstructors(function(TA) {
   var sab = new SharedArrayBuffer(2 * BigInt64Array.BYTES_PER_ELEMENT);
-  var src = new BigInt64Array(sab);
+  var otherCtor = TA === BigInt64Array ? BigUint64Array : BigInt64Array;
+  var src = new otherCtor(sab);
   src[0] = 42n;
   src[1] = 43n;
   var sample, result;