mirror of
https://github.com/actions/toolkit.git
synced 2026-08-16 00:00:21 +02:00
Fix tests
This commit is contained in:
Vendored
+2
-2
@@ -92,9 +92,9 @@ test('gzip extract tar', async () => {
|
||||
)
|
||||
})
|
||||
|
||||
test('gzip extract GNU tar on windows', async () => {
|
||||
test('gzip extract GNU tar on windows with GNUtar in path', async () => {
|
||||
if (IS_WINDOWS) {
|
||||
jest.spyOn(fs, 'existsSync').mockReturnValueOnce(false)
|
||||
jest.spyOn(fs, 'existsSync').mockReturnValue(false)
|
||||
|
||||
const isGnuMock = jest
|
||||
.spyOn(utils, 'isGnuTarInstalled')
|
||||
|
||||
Reference in New Issue
Block a user