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:
Patrik Oldsberg
2022-02-14 12:09:41 +01:00
parent 00208b83f4
commit 2badbd0054
+1 -3
View File
@@ -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));
});
});