From edca01c35e7f3f76ec98dd912314db16995e2a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 19 Apr 2023 00:32:21 +0200 Subject: chore: disable flaky Node compat tests (#18760) I'm not able to reproduce any of the failures from CI on my machine. I'm going to disable these tests for now as they are holding us back. --- cli/tests/node_compat/common.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tests/node_compat/common.ts') diff --git a/cli/tests/node_compat/common.ts b/cli/tests/node_compat/common.ts index e9cfe3191..1b9748f26 100644 --- a/cli/tests/node_compat/common.ts +++ b/cli/tests/node_compat/common.ts @@ -1,7 +1,7 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. import { partition } from "../../../test_util/std/collections/partition.ts"; import { join } from "../../../test_util/std/path/mod.ts"; - +import * as JSONC from "../../../test_util/std/encoding/jsonc.ts"; /** * The test suite matches the folders inside the `test` folder inside the * node repo @@ -26,9 +26,9 @@ interface Config { darwinIgnore: TestSuites; } -export const config: Config = JSON.parse( - await Deno.readTextFile(new URL("./config.json", import.meta.url)), -); +export const config: Config = JSONC.parse( + await Deno.readTextFile(new URL("./config.jsonc", import.meta.url)), +) as unknown as Config; export const ignoreList = Object.entries(config.ignore).reduce( (total: RegExp[], [suite, paths]) => { -- cgit v1.2.3