mirror of
https://gitea.com/actions/setup-node.git
synced 2026-07-09 19:21:53 +08:00
Fix formatting in cache validation test for unchanged cache
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user