From f4c0f3df691d81cf0702539fcb48ca595940a636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jare=C5=A1?= Date: Sat, 18 May 2024 13:11:49 +0200 Subject: [PATCH] Hide failing output that always scares me (#2461) --- tst/functions/New-Fixture.ts.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/functions/New-Fixture.ts.ps1 b/tst/functions/New-Fixture.ts.ps1 index f0b424504..ea40dceec 100644 --- a/tst/functions/New-Fixture.ts.ps1 +++ b/tst/functions/New-Fixture.ts.ps1 @@ -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]) }