Fix tests
This commit is contained in:
1 parent
802b275be8
commit
cc292001eb
3 files changed
+6
-3
No files matched your search
@@ -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