3
0
Fork 0
mirror of https://gitea.com/actions/setup-node.git synced 2024-11-22 01:59:32 +01:00
This commit is contained in:
Shubham Tiwari 2022-07-08 14:40:08 +00:00 committed by GitHub
parent c59451a53b
commit d4989cba2f

View file

@ -295,7 +295,7 @@ describe('run', () => {
expect(setFailedSpy).not.toHaveBeenCalled(); expect(setFailedSpy).not.toHaveBeenCalled();
}); });
it('save with -1 cacheId , should not fail workflow', async () => { it('save with -1 cacheId, should not fail workflow', async () => {
inputs['cache'] = 'npm'; inputs['cache'] = 'npm';
getStateSpy.mockImplementation((name: string) => { getStateSpy.mockImplementation((name: string) => {
if (name === State.CacheMatchedKey) { if (name === State.CacheMatchedKey) {