package updates

This commit is contained in:
Salman Muin Kayser Chishti committed 2025-09-04 15:15:02 +01:00
1 parent 1524d73d50
commit 194748dabb
2 files changed
+3 -3

No files matched your search

+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')