diff --git a/__tests__/cache-save.test.ts b/__tests__/cache-save.test.ts index a142e40d..4f9673ed 100644 --- a/__tests__/cache-save.test.ts +++ b/__tests__/cache-save.test.ts @@ -345,7 +345,8 @@ describe('run', () => { expect(getCommandOutputSpy).toHaveBeenCalledTimes(0); expect(debugSpy).toHaveBeenLastCalledWith( `Cache was not saved for the key: ${yarnFileHash}` - ); expect(infoSpy).not.toHaveBeenCalledWith( + ); + expect(infoSpy).not.toHaveBeenCalledWith( `Cache hit occurred on the primary key ${npmFileHash}, not saving cache.` ); expect(saveCacheSpy).toHaveBeenCalled();