From 8be8e20efa282edb2e63b1d4b8f969b3bba967f1 Mon Sep 17 00:00:00 2001 From: Minoru Mizutani Date: Tue, 29 Apr 2025 10:22:14 +0900 Subject: [PATCH] Fix test --- tests/utils_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils_test.ts b/tests/utils_test.ts index b843f43..cb38aaa 100644 --- a/tests/utils_test.ts +++ b/tests/utils_test.ts @@ -51,7 +51,7 @@ describe("utils", () => { // The log message should include the process ID and our message const call = consoleErrorSpy.calls[0]; - assertEquals(call.args.length, 2); + assertEquals(call.args.length, 1); assertMatch(call.args[0] as string, /^\[\d+\] Test message$/); }); @@ -63,7 +63,7 @@ describe("utils", () => { assertSpyCalls(consoleErrorSpy, 1); const call = consoleErrorSpy.calls[0]; - assertEquals(call.args.length, 3); + assertEquals(call.args.length, 2); assertMatch(call.args[0] as string, /^\[\d+\] Test message$/); assertEquals(call.args[1], additionalParam); });