Add extra assertion to download single artifact test

This commit is contained in:
Ryan Ghadimi 2025-03-19 12:25:37 +00:00
parent b456700053
commit 53f6aa5f93

View File

@ -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 () => {