Skip to content

Commit

Permalink
make use of git-config
Browse files Browse the repository at this point in the history
  • Loading branch information
jworkmanjc committed Oct 2, 2023
1 parent 1af5a0b commit 4a2cd9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Describe -Tag:('ModuleValidation') 'Pester Files Tests' {
Function Get-PesterFilesTestCases {
$ModuleRoot = (Get-Item -Path:($PSScriptRoot)).Parent.Parent
$FolderTests = "$ModuleRoot/Tests"
$FolderPublic = "$ModuleRoot/Public"
$FolderTests = "$FolderPath_Tests"
$FolderPublic = "$FolderPath_Public"
$PesterTestFilePath = Get-ChildItem -Path:("$FolderPublic/*.ps1") -Recurse -File | ForEach-Object {
@{
FilePath = ($_.FullName).Replace($ModuleRoot, $FolderTests).Replace($_.Extension, ".Tests$($_.Extension)")
Expand Down

0 comments on commit 4a2cd9c

Please sign in to comment.