From a06d7ecc1181c19e97021466800ae8adc8ede956 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Mon, 10 Jul 2023 17:16:29 +0200 Subject: [PATCH] drop! test --- tests/cli_update_check_test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/cli_update_check_test.ts b/tests/cli_update_check_test.ts index 5c55b96b580..ad35644a018 100644 --- a/tests/cli_update_check_test.ts +++ b/tests/cli_update_check_test.ts @@ -11,13 +11,18 @@ Deno.test({ const tmpDirName = await Deno.makeTempDir(); const filePath = join(tmpDirName, "fresh-latest.json"); - await new Deno.Command(Deno.execPath(), { + const out = await new Deno.Command(Deno.execPath(), { args: ["run", "-A", "./tests/fixture_update_check/mod.ts"], env: { DENO_DIR: tmpDirName, }, }).output(); + const decoder = new TextDecoder(); + console.log("CI", Deno.env.get("CI")); + + console.log(decoder.decode(out.stdout), decoder.decode(out.stderr)); + const text = JSON.parse(await Deno.readTextFile(filePath)); assertEquals(text, { current_version: "1.2.0",