Skip to content

Commit e4f160b

Browse files
committed
change debug
1 parent 79ccb49 commit e4f160b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/build.tests.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Describe 'Build' {
2222

2323
# build is PS job so psake doesn't freak out because it's nested
2424
Start-Job -Scriptblock {
25+
Set-Location -Path $using:testModuleSource
2526
$global:PSBuildCompile = $true
2627
./build.ps1 -Task Build
2728
} -WorkingDirectory $script:testModuleSource | Wait-Job
@@ -73,12 +74,13 @@ Describe 'Build' {
7374
BeforeAll {
7475
# build is PS job so psake doesn't freak out because it's nested
7576
Start-Job -Scriptblock {
77+
Set-Location -Path $using:testModuleSource
7678
$global:PSBuildCompile = $false
7779
./build.ps1 -Task Build
7880
} -WorkingDirectory $script:testModuleSource | Wait-Job
7981
Write-Debug "TestModule output path: $script:testModuleOutputPath"
80-
$items = Get-ChildItem -Path $script:testModuleOutputPath
81-
Write-Debug ($items | ConvertTo-Json -Depth 5)
82+
$items = Get-ChildItem -Path $script:testModuleOutputPath -Recurse -File
83+
Write-Debug ($items | Format-Table FullName)
8284
}
8385

8486
AfterAll {

0 commit comments

Comments
 (0)