Skip to content

Commit

Permalink
🩹 [Patch]: Remove module import test (#12)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
MariusStorhaug authored Apr 13, 2024
1 parent f813c94 commit e055e67
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/NerdFonts.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ Param(
Write-Verbose "Path to the module: [$Path]" -Verbose

Describe 'Module' {
Context 'NerdFonts' {
It 'The module should be available' {
Get-Module -Name 'NerdFonts' -ListAvailable | Should -Not -BeNullOrEmpty
Write-Verbose (Get-Module -Name 'NerdFonts' -ListAvailable | Out-String) -Verbose
}
It 'The module should be imported' {
{ Import-Module -Name 'NerdFonts' -Verbose -RequiredVersion 999.0.0 -Force } | Should -Not -Throw
}
}

Context 'Function: Get-NerdFont' {
It 'Function exists' {
Get-Command Get-NerdFont | Should -Not -BeNullOrEmpty
Expand Down

0 comments on commit e055e67

Please sign in to comment.