mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 13:49:13 +08:00
Fix windows gnutar test case
This commit is contained in:
parent
4fa5b7d133
commit
b3bd482c0f
2
packages/cache/__tests__/tar.test.ts
vendored
2
packages/cache/__tests__/tar.test.ts
vendored
@ -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"`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user