From c12819ce33670101e11bf73b8288ee59cb4268ea Mon Sep 17 00:00:00 2001 From: Dev Date: Sun, 5 Nov 2023 12:40:50 +0000 Subject: [PATCH] Check for correct return type --- project/tests/helpers/ItemHelper.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/tests/helpers/ItemHelper.test.ts b/project/tests/helpers/ItemHelper.test.ts index 09080c5b..1fa7b023 100644 --- a/project/tests/helpers/ItemHelper.test.ts +++ b/project/tests/helpers/ItemHelper.test.ts @@ -964,14 +964,14 @@ describe("ItemHelper", () => { const result = itemHelper.isItemTplStackable("fakeTpl"); - expect(result).toBe(false); + expect(result).toBe(undefined); }); it("should return undefined for an empty input", () => { const result = itemHelper.isItemTplStackable(""); - expect(result).toBe(false); + expect(result).toBe(undefined); }); }); });