mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 22:01:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			444 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			444 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
| #Requires -Version 5.1
 | |
| #Requires -Modules @{ ModuleName = 'BuildHelpers'; ModuleVersion = '2.0.1' }
 | |
| #Requires -Modules @{ ModuleName = 'Pester'; ModuleVersion = '5.2.0' }
 | |
| 
 | |
| $pesterConfig = New-PesterConfiguration -Hashtable @{
 | |
|     Run    = @{
 | |
|         Path     = "$PSScriptRoot/.."
 | |
|         PassThru = $true
 | |
|     }
 | |
|     Output = @{
 | |
|         Verbosity = 'Detailed'
 | |
|     }
 | |
| }
 | |
| $result = Invoke-Pester -Configuration $pesterConfig
 | |
| exit $result.FailedCount
 | 
