mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Unload test modules (#11061)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user