summaryrefslogtreecommitdiff
path: root/cli/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit')
-rw-r--r--cli/tests/unit/buffer_test.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts
index 320dddcc1..fdbadbfe4 100644
--- a/cli/tests/unit/buffer_test.ts
+++ b/cli/tests/unit/buffer_test.ts
@@ -17,12 +17,7 @@ const N = 100;
let testBytes: Uint8Array | null;
let testString: string | null;
-let ignoreMaxSizeTests = false;
-try {
- new ArrayBuffer(MAX_SIZE);
-} catch (e) {
- ignoreMaxSizeTests = true;
-}
+const ignoreMaxSizeTests = true;
function init(): void {
if (testBytes == null) {