Skip to content

Commit

Permalink
Fixed UT
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwroc committed Feb 11, 2024
1 parent 19443c5 commit 33cf2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/other/entity-fields/get-name.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("Get name", () => {
const hassMock = new HomeAssistantMock(true);
hassMock.addEntity("My entity", "45", { friendly_name: "Battery" });

let name = getName({ entity: "my_entity", bulk_rename: [{ from: "Battery", to: "" }] }, hassMock.hass);
let name = getName({ entity: "my_entity", bulk_rename: [{ from: "Battery", to: "" }] }, hassMock.hass, {});

expect(name).toBe("");
});
Expand Down

0 comments on commit 33cf2d5

Please sign in to comment.