Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 53f6aa5

Browse filesBrowse files
committed
Add extra assertion to download single artifact test
1 parent b456700 commit 53f6aa5
Copy full SHA for 53f6aa5

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Collapse file

‎__tests__/download.test.ts‎

Copy file name to clipboardExpand all lines: __tests__/download.test.ts
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@ describe('download', () => {
7676
})
7777
)
7878
expect(core.info).toHaveBeenCalledWith('Total of 1 artifact(s) downloaded')
79+
80+
expect(core.setOutput).toHaveBeenCalledWith(
81+
'download-path',
82+
expect.any(String)
83+
)
84+
85+
expect(core.info).toHaveBeenCalledWith(
86+
'Download artifact has finished successfully'
87+
)
7988
})
8089

8190
test('downloads multiple artifacts when no name or pattern provided', async () => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.