1
0
mirror of https://github.com/actions/setup-node.git synced 2026-07-09 01:21:38 +00:00

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
+2 -1
View File
@@ -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();