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:
parent
4731f4800c
commit
44187c81f4
1 changed files with 1 additions and 6 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue