linting
This commit is contained in:
1 parent
194748dabb
commit
5facceabcc
1 file changed
+3
-1
@@ -244,7 +244,9 @@ test('save with server error should fail', async () => {
|
|||||||
// Mock the FinalizeCacheEntryUpload to succeed (since the error should happen in saveCache)
|
// Mock the FinalizeCacheEntryUpload to succeed (since the error should happen in saveCache)
|
||||||
jest
|
jest
|
||||||
.spyOn(CacheServiceClientJSON.prototype, 'FinalizeCacheEntryUpload')
|
.spyOn(CacheServiceClientJSON.prototype, 'FinalizeCacheEntryUpload')
|
||||||
.mockReturnValue(Promise.resolve({ok: true, entryId: '4', message: 'Success'}))
|
.mockReturnValue(
|
||||||
|
Promise.resolve({ok: true, entryId: '4', message: 'Success'})
|
||||||
|
)
|
||||||
|
|
||||||
const createTarMock = jest.spyOn(tar, 'createTar')
|
const createTarMock = jest.spyOn(tar, 'createTar')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user