From a717dc7bc71a52d4ae28c8674b8a60476ee97cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jare=C5=A1?= Date: Sat, 18 May 2024 13:01:30 +0200 Subject: [PATCH] Hide failing output that always scares me --- 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]) }