wip
This commit is contained in:
parent
2f554c13d5
commit
ac0431ea17
@ -1,14 +1,12 @@
|
|||||||
Describe 'Test module meta' {
|
Describe 'Test module meta' {
|
||||||
It 'Test manifest file' {
|
Context 'Default tests' -Tag 'Default' {
|
||||||
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
It 'Test manifest file' {
|
||||||
Test-ModuleManifest -Path $ManifestFile | Should -Be $true
|
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
||||||
|
Test-ModuleManifest -Path $ManifestFile | Should -Be $true
|
||||||
|
}
|
||||||
|
It 'Import Module' {
|
||||||
|
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
||||||
|
{ Import-Module $ManifestFile } | Should -Not -Throw
|
||||||
|
}
|
||||||
}
|
}
|
||||||
It 'Import Module' {
|
|
||||||
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
|
||||||
{ 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