Use Pester 4

This commit is contained in:
Rashil Gandhi 2022-03-09 15:24:52 +05:30 committed by GitHub
parent cc0b85a773
commit 899aa62eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
#Requires -Modules @{ ModuleName = 'Pester'; MaximumVersion = '4.99' }
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = Resolve-Path (scoop prefix scoop) }
$result = Invoke-Pester "$psscriptroot/.." -PassThru
exit $result.FailedCount