cli: avoid requiring any particular ref to be present in git test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -47,8 +47,6 @@ describe('listChangedFiles', () => {
|
||||
});
|
||||
|
||||
it('should return something', async () => {
|
||||
await expect(listChangedFiles('origin/master')).resolves.toEqual(
|
||||
expect.any(Array),
|
||||
);
|
||||
await expect(listChangedFiles('HEAD')).resolves.toEqual(expect.any(Array));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user