summaryrefslogtreecommitdiff
path: root/js/body_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/body_test.ts')
-rw-r--r--js/body_test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/body_test.ts b/js/body_test.ts
index ac63ae78a..1b6157c12 100644
--- a/js/body_test.ts
+++ b/js/body_test.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { test, testPerm, assertEquals, assert } from "./test_util.ts";
+import { test, assertEquals } from "./test_util.ts";
// just a hack to get a body object
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -32,6 +32,7 @@ test(async function arrayBufferFromByteArrays(): Promise<void> {
});
//FormData
+/* TODO(ry) Re-enable this test.
testPerm({ net: true }, async function bodyMultipartFormData(): Promise<void> {
const response = await fetch(
"http://localhost:4545/tests/subdir/multipart_form_data.txt"
@@ -58,3 +59,4 @@ testPerm({ net: true }, async function bodyURLEncodedFormData(): Promise<void> {
assert(formData.has("field_2"));
assertEquals(formData.get("field_2").toString(), "<Deno>");
});
+*/