From 9700641a19a0110d77bc78e730d558410e1f91d9 Mon Sep 17 00:00:00 2001 From: Daniel Kennedy Date: Mon, 26 Jan 2026 14:40:04 -0500 Subject: [PATCH] Update packages/artifact/__tests__/download-artifact.test.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- packages/artifact/__tests__/download-artifact.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/artifact/__tests__/download-artifact.test.ts b/packages/artifact/__tests__/download-artifact.test.ts index db7e0df3..496cfd14 100644 --- a/packages/artifact/__tests__/download-artifact.test.ts +++ b/packages/artifact/__tests__/download-artifact.test.ts @@ -651,7 +651,8 @@ describe('download-artifact', () => { {timeout: 2} ) expect(true).toBe(false) // should not be called - } catch (e : any) { + } catch (error: unknown) { + const e = error as Error expect(e).toBeInstanceOf(Error) expect(e.message).toContain('did not respond in 2ms') expect(mockHttpClient).toHaveBeenCalledWith(getUserAgentString())