From 44187c81f4a09dbec0ca83b91e5f378590c93cff Mon Sep 17 00:00:00 2001 From: Marcos Casagrande Date: Mon, 13 Jul 2020 15:40:48 +0200 Subject: [PATCH] test: ignore max buffer tests (#6732) --- cli/tests/unit/buffer_test.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index 320dddcc1d..fdbadbfe41 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) {