From 2f584bcbfea3482d85fd6ebe069abe1b184c8b13 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sat, 11 Dec 2021 23:36:32 +0900 Subject: [PATCH 1/2] chore: skip fmt/colors test (#1700) --- examples/colors_test.ts | 4 ++++ fmt/colors_test.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/examples/colors_test.ts b/examples/colors_test.ts index 4e009e3293d76..3f3d78a6ee44d 100644 --- a/examples/colors_test.ts +++ b/examples/colors_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +/* TODO(kt3k): enable colors test when + * https://github.com/denoland/deno/issues/13050 is resolved. import { assertStrictEquals } from "../testing/asserts.ts"; import { dirname, fromFileUrl } from "../path/mod.ts"; @@ -20,3 +23,4 @@ Deno.test("[examples/colors] print a colored text", async () => { process.close(); } }); +*/ diff --git a/fmt/colors_test.ts b/fmt/colors_test.ts index 358cf71e65178..eb627236336fd 100644 --- a/fmt/colors_test.ts +++ b/fmt/colors_test.ts @@ -1,4 +1,7 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +/* TODO(kt3k): enable colors test when + * https://github.com/denoland/deno/issues/13050 is resolved. import { assertEquals } from "../testing/asserts.ts"; import * as c from "./colors.ts"; import "../examples/colors.ts"; @@ -232,3 +235,4 @@ Deno.test("test_bgRgb24", function (): void { Deno.test("test_bgRgb24number", function (): void { assertEquals(c.bgRgb24("foo bar", 0x070809), "foo bar"); }); +*/ From 983cf6a753e76af31a392bf20538e53b3a381400 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 12 Dec 2021 01:14:13 +0900 Subject: [PATCH 2/2] chore(node): fix node testing config (#1701) --- node/_tools/config.json | 7 +++++++ node/_tools/suites/common/fixtures.js | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/node/_tools/config.json b/node/_tools/config.json index 531801a341fff..c6f61313aeeb8 100644 --- a/node/_tools/config.json +++ b/node/_tools/config.json @@ -5,6 +5,9 @@ "index.js", "tmpdir.js" ], + "fixtures": [ + "child-process-spawn-node.js" + ], "internet": [ "test-dns-idna.js", "test-dns-ipv4.js", @@ -48,8 +51,12 @@ "tests": { "common": [ "dns.js", + "fixtures.js", "internet.js" ], + "fixtures": [ + "child-process-spawn-node.js" + ], "internet": [ "test-dns-idna.js", "test-dns-ipv4.js", diff --git a/node/_tools/suites/common/fixtures.js b/node/_tools/suites/common/fixtures.js index 2cb095067f548..77f9ae70647da 100644 --- a/node/_tools/suites/common/fixtures.js +++ b/node/_tools/suites/common/fixtures.js @@ -1,5 +1,9 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// deno-fmt-ignore-file +// deno-lint-ignore-file + // Copyright Joyent and Node contributors. All rights reserved. MIT license. +// Taken from Node 16.13.0 +// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually 'use strict'; @@ -33,4 +37,3 @@ module.exports = { readKey: readFixtureKey, readKeys: readFixtureKeys, }; -