Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto committed Jan 28, 2024
1 parent 5a559ef commit a3f8eb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Install-Package.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Describe Install-Package {
BeforeEach {
New-Item -Path $env:LOCALAPPDATA\powershell\Modules -ItemType Directory
Remove-Item -Path "$env:LOCALAPPDATA\powershell\Modules\*" -Recurse
#New-Item -Path $env:LOCALAPPDATA\powershell\Modules -ItemType Directory
#Remove-Item -Path "$env:LOCALAPPDATA\powershell\Modules\*" -Recurse
}

Context 'with -Name parameter' {
It 'should install' {
{ Install-Package -Name Az -Verbose -Debug } |
{ Install-ModuleFast Az -Verbose -Debug } |
Should -Not -Throw
}
}
Expand Down

0 comments on commit a3f8eb5

Please sign in to comment.