Check for correct return type
This commit is contained in:
parent
7e409735d1
commit
c12819ce33
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user