Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tst/Pester.RSpec.Parallel.ts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,9 @@ Describe 'B' { It 'b1 passes' { 1 | Should -Be 1 } }

# PowerShell 5.1 has no ForEach-Object -Parallel and falls back to a sequential run whose
# output differs, so only assert the exact parallel rendering on 7+.
Write-Warning "TODO: REMOVE - PSVersion $($PSVersionTable.PSVersion) - $($PSVersionTable.PSVersion.Major) - $($PSVersionTable.PSVersion.Major -ge 7)"
if ($PSVersionTable.PSVersion.Major -ge 7) {
Write-Warning "TODO: REMOVE - Running output test $($PSVersionTable.PSVersion.Major). Does this run in PS7_Windows_Server2022?"
# Rebuild the console text from the captured Write-Host records (honouring -NoNewline),
# then blank out the volatile version, temp paths and timings so the snapshot is stable.
$sb = [System.Text.StringBuilder]::new()
Expand Down
Loading