Pester 5 Prep

This commit is contained in:
Wes Carroll
2020-04-11 22:35:23 -04:00
parent 8578c775dd
commit fb45693fb1
54 changed files with 135 additions and 138 deletions
@@ -13,8 +13,6 @@ Describe $global:function -Tag 'Unit', 'Source', 'Built' {
}
}
Context "$($global:function)::Function Unit Tests" {
InModuleScope -ModuleName ZertoApiWrapper {
@@ -68,7 +66,6 @@ Describe $global:function -Tag 'Unit', 'Source', 'Built' {
Assert-MockCalled -ModuleName ZertoApiWrapper -CommandName Invoke-ZARestRequest -Exactly 1
}
}
Remove-Variable -Name function -Scope Global