mirror of https://github.com/nodejs/corepack.git
				
				
				
			chore(tests): do not fail tests when `DEBUG` is set in the env (#615)
This commit is contained in:
		
							parent
							
								
									34abfcaee8
								
							
						
					
					
						commit
						ab38255f24
					
				|  | @ -6,7 +6,7 @@ const OLD_ENV = process.env; | ||||||
| // in case the local machine already set these values.
 | // in case the local machine already set these values.
 | ||||||
| const processEnv = Object.fromEntries( | const processEnv = Object.fromEntries( | ||||||
|   Object.entries(process.env).filter( |   Object.entries(process.env).filter( | ||||||
|     ([key]) => key !== `FORCE_COLOR` && !key.startsWith(`COREPACK_`), |     ([key]) => key !== `FORCE_COLOR` && key !== `DEBUG` && !key.startsWith(`COREPACK_`), | ||||||
|   ), |   ), | ||||||
| ); | ); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue