mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
use source mode for deleted files
This commit is contained in:
parent
77c6c11180
commit
0a237f343d
6 changed files with 132 additions and 13 deletions
|
@ -270,7 +270,7 @@ describe('create-or-update-branch tests', () => {
|
|||
expect(branchCommits[0].subject).toEqual('Test changes')
|
||||
expect(branchCommits[0].changes.length).toEqual(3)
|
||||
expect(branchCommits[0].changes).toEqual([
|
||||
{mode: '000000', path: TRACKED_FILE, status: 'D'},
|
||||
{mode: '100644', path: TRACKED_FILE, status: 'D'},
|
||||
{mode: '100644', path: UNTRACKED_FILE, status: 'A'},
|
||||
{mode: '100644', path: TRACKED_FILE_NEW_PATH, status: 'A'}
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue