From b3bd482c0f13ddeac82b85fb36e393c86dbfd761 Mon Sep 17 00:00:00 2001 From: Lovepreet Singh Date: Thu, 17 Nov 2022 09:46:01 +0000 Subject: [PATCH] Fix windows gnutar test case --- packages/cache/__tests__/tar.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cache/__tests__/tar.test.ts b/packages/cache/__tests__/tar.test.ts index abf8eecb..3166ad68 100644 --- a/packages/cache/__tests__/tar.test.ts +++ b/packages/cache/__tests__/tar.test.ts @@ -113,7 +113,7 @@ test('gzip extract GNU tar on windows with GNUtar in path', async () => { await tar.extractTar(archivePath, CompressionMethod.Gzip) - expect(isGnuMock).toHaveBeenCalledTimes(1) + expect(isGnuMock).toHaveBeenCalledTimes(2) expect(execMock).toHaveBeenCalledTimes(1) expect(execMock).toHaveBeenCalledWith( `"tar"`,