Skip to content

Commit e132be7

Browse files
🩹 [Patch]: Remove module import test (#12)
## Description - Remove module import test, as it is now default in Test-PSModule. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent fc4824c commit e132be7

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/PATH.Tests.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ Param(
88
Write-Verbose "Path to the module: [$Path]" -Verbose
99

1010
Describe 'PATH' {
11-
Context 'Module' {
12-
It 'The module should be available' {
13-
Get-Module -Name 'PATH' -ListAvailable | Should -Not -BeNullOrEmpty
14-
Write-Verbose (Get-Module -Name 'PATH' -ListAvailable | Out-String) -Verbose
15-
}
16-
It 'The module should be imported' {
17-
{ Import-Module -Name 'PATH' -Verbose -RequiredVersion 999.0.0 -Force } | Should -Not -Throw
18-
}
19-
}
20-
2111
Context 'Function: Get-EnvironemntPath' {
2212
Context 'CurrentUser' {
2313
It 'Should not throw' {

0 commit comments

Comments
 (0)