mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 03:13:15 +08:00
Address review comments
This commit is contained in:
@@ -174,7 +174,7 @@ test('restore with zstd as default but gzip compressed cache found on windows',
|
||||
const getCacheMock = jest.spyOn(cacheHttpClient, 'getCacheEntry')
|
||||
getCacheMock
|
||||
.mockImplementationOnce(async () => {
|
||||
return Promise.resolve(<ArtifactCacheEntry>{})
|
||||
throw new Error('Cache not found.')
|
||||
})
|
||||
.mockImplementationOnce(async () => {
|
||||
return Promise.resolve(cacheEntry)
|
||||
|
||||
Reference in New Issue
Block a user