mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 15:52:42 +08:00 
			
		
		
		
	Unmock fs.existsSync after tests
This commit is contained in:
		| @@ -72,6 +72,10 @@ describe('run', () => { | ||||
|     getCommandOutputSpy = jest.spyOn(utils, 'getCommandOutput'); | ||||
|   }); | ||||
|  | ||||
|   afterEach(() => { | ||||
|     existsSpy.mockRestore(); | ||||
|   }); | ||||
|  | ||||
|   describe('Package manager validation', () => { | ||||
|     it('Package manager is not provided, skip caching', async () => { | ||||
|       inputs['cache'] = ''; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user