From 6e020c8cc7b0df394197c68256fddb081d632d8f Mon Sep 17 00:00:00 2001 From: Tatyana Kostromskaya Date: Thu, 5 Oct 2023 13:10:00 +0200 Subject: . --- __test__/ref-helper.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '__test__/ref-helper.test.ts') diff --git a/__test__/ref-helper.test.ts b/__test__/ref-helper.test.ts index 0801532..8a8302a 100644 --- a/__test__/ref-helper.test.ts +++ b/__test__/ref-helper.test.ts @@ -7,11 +7,11 @@ let git: IGitCommandManager describe('ref-helper tests', () => { beforeEach(() => { - git = ({} as unknown) as IGitCommandManager + git = {} as unknown as IGitCommandManager }) it('getCheckoutInfo requires git', async () => { - const git = (null as unknown) as IGitCommandManager + const git = null as unknown as IGitCommandManager try { await refHelper.getCheckoutInfo(git, 'refs/heads/my/branch', commit) throw new Error('Should not reach here') -- cgit v1.2.3