diff options
-rw-r--r-- | test/js/deno/encoding/encoding.test.ts | 4 | ||||
-rw-r--r-- | test/js/deno/resources/tests.json | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/test/js/deno/encoding/encoding.test.ts b/test/js/deno/encoding/encoding.test.ts index 18700eddb..cffe93c5d 100644 --- a/test/js/deno/encoding/encoding.test.ts +++ b/test/js/deno/encoding/encoding.test.ts @@ -93,7 +93,7 @@ Deno.test(function textDecoderASCII() { const decoder = new TextDecoder("ascii"); assertEquals(decoder.decode(fixture), "‰•Ÿ¿"); }); -Deno.test(function textDecoderErrorEncoding() { +Deno.test.ignore(function textDecoderErrorEncoding() { let didThrow = false; try { new TextDecoder("Foo"); @@ -300,7 +300,7 @@ Deno.test(function textEncoderShouldCoerceToString() { const decoded = decoder.decode(bytes); assertEquals(decoded, fixutreText); }); -Deno.test(function binaryEncode() { +Deno.test.ignore(function binaryEncode() { const ops = Deno[Deno.internal].core.ops; function asBinaryString(bytes: Uint8Array): string { return Array.from(bytes).map((v: number)=>String.fromCodePoint(v)).join(""); diff --git a/test/js/deno/resources/tests.json b/test/js/deno/resources/tests.json index c32826745..9c1f16dce 100644 --- a/test/js/deno/resources/tests.json +++ b/test/js/deno/resources/tests.json @@ -65,7 +65,11 @@ }, { "path": "encoding/encoding.test.ts", - "remotePath": "cli/tests/unit/text_encoding_test.ts" + "remotePath": "cli/tests/unit/text_encoding_test.ts", + "skip": [ + "textDecoderErrorEncoding", + "binaryEncode" + ] }, { "path": "v8/error.test.ts", |