Remove now unnecessary test skipping

This commit is contained in:
Henry Mercer
2026-05-14 14:47:33 +01:00
parent 2e202367c7
commit 4795ef8153

View File

@@ -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 // `scanArchiveFile` does not support Windows, so we skip this test there.
// RUN_SLOW_TESTS=1 to run it locally. if (os.platform() !== "win32") {
if (
os.platform() !== "win32" &&
(process.env.CI === "true" || process.env.RUN_SLOW_TESTS === "1")
) {
test("scanArtifactsForTokens finds token in debug artifacts", async (t) => { test("scanArtifactsForTokens finds token in debug artifacts", async (t) => {
t.timeout(15000); // 15 seconds
const messages: LoggedMessage[] = []; const messages: LoggedMessage[] = [];
const logger = getRecordingLogger(messages, { logToConsole: false }); const logger = getRecordingLogger(messages, { logToConsole: false });
// The zip here is a regression test based on // The zip here is a regression test based on