mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 03:38:36 +08:00 
			
		
		
		
	Remove platform-specific test code
This commit is contained in:
		
							parent
							
								
									bc1250c6eb
								
							
						
					
					
						commit
						b862af881e
					
				|  | @ -350,9 +350,8 @@ test("unlinkFile unlinks file", async () => { | ||||||
| 
 | 
 | ||||||
|     await actionUtils.unlinkFile(testFile); |     await actionUtils.unlinkFile(testFile); | ||||||
| 
 | 
 | ||||||
|     await expect(fs.stat(testFile)).rejects.toThrow( |     // This should throw as testFile should not exist
 | ||||||
|         `ENOENT: no such file or directory, stat '${testFile}'` |     await expect(fs.stat(testFile)).rejects.toThrow(); | ||||||
|     ); |  | ||||||
| 
 | 
 | ||||||
|     await fs.rmdir(testDirectory); |     await fs.rmdir(testDirectory); | ||||||
| }); | }); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Ethan Dennis
						Ethan Dennis