Fix formatting in cache validation test for unchanged cache

This commit is contained in:
HarithaVattikuti
2026-07-08 18:22:42 -05:00
parent cbc6bdf773
commit 5931e08ae8

View File

@@ -345,7 +345,8 @@ describe('run', () => {
expect(getCommandOutputSpy).toHaveBeenCalledTimes(0); expect(getCommandOutputSpy).toHaveBeenCalledTimes(0);
expect(debugSpy).toHaveBeenLastCalledWith( expect(debugSpy).toHaveBeenLastCalledWith(
`Cache was not saved for the key: ${yarnFileHash}` `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.` `Cache hit occurred on the primary key ${npmFileHash}, not saving cache.`
); );
expect(saveCacheSpy).toHaveBeenCalled(); expect(saveCacheSpy).toHaveBeenCalled();