mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
Fix pr create/update for already up to date branches
This commit is contained in:
parent
2570a753e0
commit
8bdec9b230
4 changed files with 4309 additions and 929 deletions
|
@ -343,7 +343,7 @@ describe('create-or-update-branch tests', () => {
|
|||
REMOTE_NAME,
|
||||
false
|
||||
)
|
||||
expect(_result.action).toEqual('none')
|
||||
expect(_result.action).toEqual('not-updated')
|
||||
expect(await getFileContent(TRACKED_FILE)).toEqual(changes.tracked)
|
||||
expect(await getFileContent(UNTRACKED_FILE)).toEqual(changes.untracked)
|
||||
expect(
|
||||
|
@ -993,7 +993,7 @@ describe('create-or-update-branch tests', () => {
|
|||
REMOTE_NAME,
|
||||
false
|
||||
)
|
||||
expect(_result.action).toEqual('none')
|
||||
expect(_result.action).toEqual('not-updated')
|
||||
expect(await getFileContent(TRACKED_FILE)).toEqual(changes.tracked)
|
||||
expect(await getFileContent(UNTRACKED_FILE)).toEqual(changes.untracked)
|
||||
expect(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue