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

Commit

Permalink
Fix tests, broken in merge, New inputs have been added since
Browse files Browse the repository at this point in the history
  • Loading branch information
mscoutermarsh committed Jul 1, 2020
1 parent 91b6c4e commit 25a1bf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/create-release.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ describe('Create Release', () => {
.mockReturnValueOnce('') // <-- The default value for body in action.yml
.mockReturnValueOnce('false')
.mockReturnValueOnce('false')
.mockReturnValueOnce(null)
.mockReturnValueOnce('notes.md');

fs.readFileSync = jest.fn().mockReturnValueOnce('# this is a release\nThe markdown is strong in this one.');
Expand All @@ -148,7 +149,8 @@ describe('Create Release', () => {
name: 'myRelease',
body: '# this is a release\nThe markdown is strong in this one.',
draft: false,
prerelease: false
prerelease: false,
target_commitish: 'sha'
});
});

Expand Down

0 comments on commit 25a1bf7

Please sign in to comment.