Skip to content

Commit

Permalink
🩹 [Patch]: Add tests for PublicIP (#6)
Browse files Browse the repository at this point in the history
## Description

- Add tests for PublicIP

## 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 Mar 14, 2024
1 parent cb73210 commit 9b10de9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/PublicIP.Tests.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Describe 'PublicIP' {
Context 'Module' {
It 'The module should be available' {
Get-Module -Name 'PublicIP' -ListAvailable | Should -Not -BeNullOrEmpty
Write-Verbose (Get-Module -Name 'PublicIP' -ListAvailable | Out-String) -Verbose
}
It 'The module should be imported' {
{ Import-Module -Name 'PublicIP' } | Should -Not -Throw
}
}
}

0 comments on commit 9b10de9

Please sign in to comment.