From 4795ef8153a9fbf9e9ff283721e728f492c993b0 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 14 May 2026 14:47:33 +0100 Subject: [PATCH] Remove now unnecessary test skipping --- src/artifact-scanner.test.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/artifact-scanner.test.ts b/src/artifact-scanner.test.ts index 6f68e647d..56f99e113 100644 --- a/src/artifact-scanner.test.ts +++ b/src/artifact-scanner.test.ts @@ -141,14 +141,9 @@ test("scanArtifactsForTokens handles files without tokens", async (t) => { } }); -// This test is slow (extracts and scans a zip artifact), so by default we only run it in CI. Set -// RUN_SLOW_TESTS=1 to run it locally. -if ( - os.platform() !== "win32" && - (process.env.CI === "true" || process.env.RUN_SLOW_TESTS === "1") -) { +// `scanArchiveFile` does not support Windows, so we skip this test there. +if (os.platform() !== "win32") { test("scanArtifactsForTokens finds token in debug artifacts", async (t) => { - t.timeout(15000); // 15 seconds const messages: LoggedMessage[] = []; const logger = getRecordingLogger(messages, { logToConsole: false }); // The zip here is a regression test based on