From db91acb7702e0f0cd3ace6c8a582f565086261d3 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Tue, 16 Jul 2019 14:11:01 -0400 Subject: [PATCH] remove global variables when complete --- Tests/Private/Get-ZertoApiFilter.Tests.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/Private/Get-ZertoApiFilter.Tests.ps1 b/Tests/Private/Get-ZertoApiFilter.Tests.ps1 index 8217b49..a4b5978 100644 --- a/Tests/Private/Get-ZertoApiFilter.Tests.ps1 +++ b/Tests/Private/Get-ZertoApiFilter.Tests.ps1 @@ -69,3 +69,6 @@ Describe $global:function -Tag 'Unit', 'Source', 'Built' { } } } + +Remove-Variable -Name function -Scope Global +Remove-Variable -Name here -Scope Global