mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-12 02:21:32 +02:00
feat(manifest): add manifest-pr command (#280)
This commit is contained in:
@@ -361,4 +361,18 @@ describe('release-please-action', () => {
|
||||
pr: 25
|
||||
})
|
||||
})
|
||||
|
||||
it('opens PR only for manifest-pr', async () => {
|
||||
input = { command: 'manifest-pr' }
|
||||
|
||||
const runCommandStub = sandbox.stub(factory, 'runCommand')
|
||||
const manifestReleasePRStub = runCommandStub.withArgs('manifest-pr').returns(25)
|
||||
|
||||
await action.main()
|
||||
|
||||
sinon.assert.calledOnce(manifestReleasePRStub)
|
||||
assert.deepStrictEqual(output, {
|
||||
pr: 25
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user