mirror of
https://github.com/laoxong/ScoopBucket
synced 2024-11-23 02:45:14 +01:00
Use Pester 4
This commit is contained in:
parent
cc0b85a773
commit
899aa62eff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user