Skip to content

Commit 3368848

Browse files
authored
Merge pull request #3901 from github/henrymercer/minify-test-debug-artifacts
Minify test debug artifacts
2 parents ea37b33 + 4795ef8 commit 3368848

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/artifact-scanner.test.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,9 @@ test("scanArtifactsForTokens handles files without tokens", async (t) => {
141141
}
142142
});
143143

144-
// This test is slow (extracts and scans a zip artifact), so by default we only run it in CI. Set
145-
// RUN_SLOW_TESTS=1 to run it locally.
146-
if (
147-
os.platform() !== "win32" &&
148-
(process.env.CI === "true" || process.env.RUN_SLOW_TESTS === "1")
149-
) {
144+
// `scanArchiveFile` does not support Windows, so we skip this test there.
145+
if (os.platform() !== "win32") {
150146
test("scanArtifactsForTokens finds token in debug artifacts", async (t) => {
151-
t.timeout(15000); // 15 seconds
152147
const messages: LoggedMessage[] = [];
153148
const logger = getRecordingLogger(messages, { logToConsole: false });
154149
// The zip here is a regression test based on
-1.12 MB
Binary file not shown.

0 commit comments

Comments
 (0)