aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-03-14 16:37:32 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-03-14 16:37:32 -0700
commit851fd039dae1791b64cd868ed8e057b6b6bcdd51 (patch)
tree62df85659eada9b145f4ddcd78eb2ac4f8d8f974
parente1921ff8c5996f325c152368e6f1ebb8226c28af (diff)
downloadbun-851fd039dae1791b64cd868ed8e057b6b6bcdd51.tar.gz
bun-851fd039dae1791b64cd868ed8e057b6b6bcdd51.tar.zst
bun-851fd039dae1791b64cd868ed8e057b6b6bcdd51.zip
Ignore irrelevant tests in encoding.test.ts
-rw-r--r--test/js/deno/encoding/encoding.test.ts4
-rw-r--r--test/js/deno/resources/tests.json6
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",