Unload test modules (#11061)

This commit is contained in:
Ilya
2019-11-14 17:54:48 -08:00
committed by Andrew
parent 8fcd772353
commit fe40fbf6e1
3 changed files with 59 additions and 5 deletions
@@ -24,6 +24,8 @@ Describe "Remote import-module tests" -Tags 'Feature','RequireAdminOnWindows' {
if ($IsWindows) {
$pssession | Remove-PSSession -ErrorAction SilentlyContinue
}
Remove-Module TestImport -Force -ErrorAction SilentlyContinue
}
BeforeEach {