Migrates to Pester5+ tests #59
@ -1,6 +1,14 @@
|
|||||||
BeforeAll {
|
BeforeAll {
|
||||||
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
$ManifestFile = (Get-Item -Path "./src/*.psd1").FullName
|
||||||
Import-Module $ManifestFile -Force
|
Import-Module $ManifestFile -Force
|
||||||
|
|
||||||
|
$PrivateFunctions = (Get-ChildItem -Path "./src/Private/*.ps1" | Where-Object {
|
||||||
|
$_.BaseName -notmatch '.Tests'
|
||||||
|
}
|
||||||
|
).FullName
|
||||||
|
foreach ( $func in $PrivateFunctions) {
|
||||||
|
. $func
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "New-CSCertificate" {
|
Describe "New-CSCertificate" {
|
||||||
|
Loading…
Reference in New Issue
Block a user