mirror of https://github.com/actions/toolkit
Fix windows gnutar test case
parent
4fa5b7d133
commit
b3bd482c0f
|
@ -113,7 +113,7 @@ test('gzip extract GNU tar on windows with GNUtar in path', async () => {
|
||||||
|
|
||||||
await tar.extractTar(archivePath, CompressionMethod.Gzip)
|
await tar.extractTar(archivePath, CompressionMethod.Gzip)
|
||||||
|
|
||||||
expect(isGnuMock).toHaveBeenCalledTimes(1)
|
expect(isGnuMock).toHaveBeenCalledTimes(2)
|
||||||
expect(execMock).toHaveBeenCalledTimes(1)
|
expect(execMock).toHaveBeenCalledTimes(1)
|
||||||
expect(execMock).toHaveBeenCalledWith(
|
expect(execMock).toHaveBeenCalledWith(
|
||||||
`"tar"`,
|
`"tar"`,
|
||||||
|
|
Loading…
Reference in New Issue