mirror of
https://github.com/actions/download-artifact.git
synced 2025-05-12 17:38:37 +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.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 () => {
|
test('downloads multiple artifacts when no name or pattern provided', async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user