From aa009e044fe63ea27280d04f6389ac8cbfaa4a47 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Wed, 24 Jul 2024 20:06:50 -0700 Subject: [PATCH] test: toRun matcher should check output if optionalStdout is empty string --- test/harness.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/harness.ts b/test/harness.ts index 9944544ed3..6ae78d7440 100644 --- a/test/harness.ts +++ b/test/harness.ts @@ -371,7 +371,7 @@ expect.extend({ }; } - if (optionalStdout) { + if (optionalStdout != null) { return { pass: result.stdout.toString("utf-8") === optionalStdout, message: () =>