1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

test: ignore max buffer tests (#6732)

This commit is contained in:
Marcos Casagrande 2020-07-13 15:40:48 +02:00 committed by GitHub
parent 4731f4800c
commit 44187c81f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,12 +17,7 @@ const N = 100;
let testBytes: Uint8Array | null; let testBytes: Uint8Array | null;
let testString: string | null; let testString: string | null;
let ignoreMaxSizeTests = false; const ignoreMaxSizeTests = true;
try {
new ArrayBuffer(MAX_SIZE);
} catch (e) {
ignoreMaxSizeTests = true;
}
function init(): void { function init(): void {
if (testBytes == null) { if (testBytes == null) {