mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 02:50:44 -05:00
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…
x
Reference in New Issue
Block a user