mirror of
https://code.forgejo.org/actions/download-artifact
synced 2025-06-08 04:58:20 +02:00
Add extra assertion to download single artifact test
This commit is contained in:
parent
b456700053
commit
53f6aa5f93
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue