diff options
author | Marcos Casagrande <marcoscvp90@gmail.com> | 2020-07-13 15:40:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 15:40:48 +0200 |
commit | 44187c81f4a09dbec0ca83b91e5f378590c93cff (patch) | |
tree | 31b3f72d7365ccc58b78470ece14d6dd492df71e /cli/tests/unit | |
parent | 4731f4800c1bd62cb77112ef8c9f553ae9164395 (diff) |
test: ignore max buffer tests (#6732)
Diffstat (limited to 'cli/tests/unit')
-rw-r--r-- | cli/tests/unit/buffer_test.ts | 7 |
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) { |