package updates

This commit is contained in:
Salman Muin Kayser Chishti
2025-09-04 15:15:02 +01:00
parent 8f32f385e0
commit b738f10ef3
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ test('save with server error should fail', async () => {
// Mock the FinalizeCacheEntryUpload to succeed (since the error should happen in saveCache)
jest
.spyOn(CacheServiceClientJSON.prototype, 'FinalizeCacheEntryUpload')
.mockReturnValue(Promise.resolve({ok: true, entryId: '4'}))
.mockReturnValue(Promise.resolve({ok: true, entryId: '4', message: 'Success'}))
const createTarMock = jest.spyOn(tar, 'createTar')