Skip to content

Commit e055e67

Browse files
🩹 [Patch]: Remove module import test (#12)
## Description - Remove module import test, as it is 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 f813c94 commit e055e67

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/NerdFonts.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 'Module' {
11-
Context 'NerdFonts' {
12-
It 'The module should be available' {
13-
Get-Module -Name 'NerdFonts' -ListAvailable | Should -Not -BeNullOrEmpty
14-
Write-Verbose (Get-Module -Name 'NerdFonts' -ListAvailable | Out-String) -Verbose
15-
}
16-
It 'The module should be imported' {
17-
{ Import-Module -Name 'NerdFonts' -Verbose -RequiredVersion 999.0.0 -Force } | Should -Not -Throw
18-
}
19-
}
20-
2111
Context 'Function: Get-NerdFont' {
2212
It 'Function exists' {
2313
Get-Command Get-NerdFont | Should -Not -BeNullOrEmpty

0 commit comments

Comments
 (0)