Migrates to Pester5+ tests #59
@ -1,4 +1,5 @@
|
|||||||
Describe 'Test module meta' {
|
Describe 'Test module meta' {
|
||||||
|
Context 'Default tests' -Tag 'Default' {
|
||||||
It 'Test manifest file' {
|
It 'Test manifest file' {
|
||||||
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
||||||
Test-ModuleManifest -Path $ManifestFile | Should -Be $true
|
Test-ModuleManifest -Path $ManifestFile | Should -Be $true
|
||||||
@ -7,8 +8,5 @@ Describe 'Test module meta' {
|
|||||||
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
||||||
{ Import-Module $ManifestFile } | Should -Not -Throw
|
{ Import-Module $ManifestFile } | Should -Not -Throw
|
||||||
}
|
}
|
||||||
# Dummy test to force pester error
|
}
|
||||||
#It 'Force Pester Error' {
|
|
||||||
# $true | Should -BeFalse
|
|
||||||
#}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user