Skip to content

Commit f4c0f3d

Browse files
authored
Hide failing output that always scares me (#2461)
1 parent 30e85ad commit f4c0f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tst/functions/New-Fixture.ts.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ i -PassThru:$PassThru {
2929
try {
3030
New-Fixture -Path $tempFolder -Name $name
3131

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

0 commit comments

Comments
 (0)