mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-10-31 10:41:57 +08:00 
			
		
		
		
	Update tests
This commit is contained in:
		| @ -385,7 +385,7 @@ describe('setup-node', () => { | |||||||
|       'Not found in manifest. Falling back to download directly from Node' |       'Not found in manifest. Falling back to download directly from Node' | ||||||
|     ); |     ); | ||||||
|     expect(dlSpy).toHaveBeenCalled(); |     expect(dlSpy).toHaveBeenCalled(); | ||||||
|     expect(logSpy).toHaveBeenCalledWith( |     expect(warningSpy).toHaveBeenCalledWith( | ||||||
|       `Node version ${versionSpec} for platform ${os.platform} and architecture ${os.arch} was found but failed to download. ` + |       `Node version ${versionSpec} for platform ${os.platform} and architecture ${os.arch} was found but failed to download. ` + | ||||||
|         'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' + |         'This usually happens when downloadable binaries are not fully updated at https://nodejs.org/. ' + | ||||||
|         'To resolve this issue you may either fall back to the older version or try again later.' |         'To resolve this issue you may either fall back to the older version or try again later.' | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Nikolai Laevskii
					Nikolai Laevskii