From 97749bf29f63552204fed4f1bfd6ba10e693a200 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 26 Aug 2024 15:30:49 -0600 Subject: [PATCH] chore: use undefined as no input vs empty string --- runner/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/src/index.ts b/runner/src/index.ts index cf4c4ca..253acfd 100644 --- a/runner/src/index.ts +++ b/runner/src/index.ts @@ -63,7 +63,7 @@ export function test() { // a string "noInputWithOutputHost" which it should return let noInputWithOutputOutput = Test.call( "noInputWithOutput", - "", + undefined, ).text(); Test.assertEqual( "noInputWithOutput returns expected output", @@ -92,7 +92,7 @@ export function test() { ); } - const noInputNoOutput = Test.call("noInputNoOutput", ""); + const noInputNoOutput = Test.call("noInputNoOutput", undefined); Test.assert( "noInputNoOutput is called successfully", noInputNoOutput.isEmpty(),