diff --git a/__tests__/saveCache.test.ts b/__tests__/saveCache.test.ts index 5a2acde..99480f3 100644 --- a/__tests__/saveCache.test.ts +++ b/__tests__/saveCache.test.ts @@ -244,7 +244,9 @@ 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', message: 'Success'})) + .mockReturnValue( + Promise.resolve({ok: true, entryId: '4', message: 'Success'}) + ) const createTarMock = jest.spyOn(tar, 'createTar')