mirror of
https://github.com/actions/download-artifact.git
synced 2025-04-21 09:12:26 +00:00
Add extra assertion to download single artifact test
This commit is contained in:
parent
b456700053
commit
53f6aa5f93
@ -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 () => {
|
||||
|
Loading…
Reference in New Issue
Block a user