Skip to content

Commit

Permalink
Hide failing output that always scares me (#2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd authored May 18, 2024
1 parent 30e85ad commit f4c0f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tst/functions/New-Fixture.ts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ i -PassThru:$PassThru {
try {
New-Fixture -Path $tempFolder -Name $name

$r = Invoke-Pester -Path $testsPath -PassThru
$r = Invoke-Pester -Path $testsPath -PassThru -Output None
$r.Containers[0].Blocks[0].Tests[0].Result | Verify-Equal "Failed"
$r.Containers[0].Blocks[0].Tests[0].ErrorRecord.Exception | Verify-Type ([System.NotImplementedException])
}
Expand Down

0 comments on commit f4c0f3d

Please sign in to comment.