Fix failed test

pull/81/head
Webber 2020-04-28 01:48:38 +02:00
parent a7340af9c1
commit 18f116412e
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ describe('Versioning', () => {
});
it('returns part of Ref when set', () => {
jest.spyOn(Versioning, 'headRef', 'get').mockReturnValue(undefined);
const reference = jest
.spyOn(Versioning, 'ref', 'get')
.mockReturnValue('refs/heads/feature-branch-2');