Fix tests, broken in merge, New inputs have been added since
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
This commit is contained in:
@@ -135,6 +135,7 @@ describe('Create Release', () => {
|
|||||||
.mockReturnValueOnce('') // <-- The default value for body in action.yml
|
.mockReturnValueOnce('') // <-- The default value for body in action.yml
|
||||||
.mockReturnValueOnce('false')
|
.mockReturnValueOnce('false')
|
||||||
.mockReturnValueOnce('false')
|
.mockReturnValueOnce('false')
|
||||||
|
.mockReturnValueOnce(null)
|
||||||
.mockReturnValueOnce('notes.md');
|
.mockReturnValueOnce('notes.md');
|
||||||
|
|
||||||
fs.readFileSync = jest.fn().mockReturnValueOnce('# this is a release\nThe markdown is strong in this one.');
|
fs.readFileSync = jest.fn().mockReturnValueOnce('# this is a release\nThe markdown is strong in this one.');
|
||||||
@@ -148,7 +149,8 @@ describe('Create Release', () => {
|
|||||||
name: 'myRelease',
|
name: 'myRelease',
|
||||||
body: '# this is a release\nThe markdown is strong in this one.',
|
body: '# this is a release\nThe markdown is strong in this one.',
|
||||||
draft: false,
|
draft: false,
|
||||||
prerelease: false
|
prerelease: false,
|
||||||
|
target_commitish: 'sha'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user