diff --git a/__tests__/saveCache.test.ts b/__tests__/saveCache.test.ts index a68d8d0..5a2acde 100644 --- a/__tests__/saveCache.test.ts +++ b/__tests__/saveCache.test.ts @@ -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') diff --git a/package-lock.json b/package-lock.json index 1944bbd..b0327cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@actions/cache", - "version": "4.0.5", + "version": "5.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@actions/cache", - "version": "4.0.5", + "version": "5.0.0", "license": "MIT", "dependencies": { "@actions/core": "^1.11.1",