|
|
|
@ -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) {
|
|
|
|
|