Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Commit 25a1bf7

Browse files
committed
Fix tests, broken in merge, New inputs have been added since
1 parent 91b6c4e commit 25a1bf7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/create-release.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ describe('Create Release', () => {
135135
.mockReturnValueOnce('') // <-- The default value for body in action.yml
136136
.mockReturnValueOnce('false')
137137
.mockReturnValueOnce('false')
138+
.mockReturnValueOnce(null)
138139
.mockReturnValueOnce('notes.md');
139140

140141
fs.readFileSync = jest.fn().mockReturnValueOnce('# this is a release\nThe markdown is strong in this one.');
@@ -148,7 +149,8 @@ describe('Create Release', () => {
148149
name: 'myRelease',
149150
body: '# this is a release\nThe markdown is strong in this one.',
150151
draft: false,
151-
prerelease: false
152+
prerelease: false,
153+
target_commitish: 'sha'
152154
});
153155
});
154156

0 commit comments

Comments
 (0)