From 5931e08ae82b6abf4eb572380e558770e95f4650 Mon Sep 17 00:00:00 2001 From: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Date: Wed, 8 Jul 2026 18:22:42 -0500 Subject: [PATCH] Fix formatting in cache validation test for unchanged cache --- __tests__/cache-save.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();