From 53f6aa5f93b626e252398abac720a28f6eb048ed Mon Sep 17 00:00:00 2001
From: Ryan Ghadimi <114221941+GhadimiR@users.noreply.github.com>
Date: Wed, 19 Mar 2025 12:25:37 +0000
Subject: [PATCH] Add extra assertion to download single artifact test

---
 __tests__/download.test.ts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/__tests__/download.test.ts b/__tests__/download.test.ts
index 1b74d70..0effc40 100644
--- a/__tests__/download.test.ts
+++ b/__tests__/download.test.ts
@@ -76,6 +76,15 @@ describe('download', () => {
       })
     )
     expect(core.info).toHaveBeenCalledWith('Total of 1 artifact(s) downloaded')
+    
+    expect(core.setOutput).toHaveBeenCalledWith(
+      'download-path',
+      expect.any(String)
+    )
+
+    expect(core.info).toHaveBeenCalledWith(
+      'Download artifact has finished successfully'
+    )
   })
 
   test('downloads multiple artifacts when no name or pattern provided', async () => {