mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-15 07:25:54 +00:00
Fix more info type test (#17758)
This commit is contained in:
@@ -18,9 +18,9 @@ describe("stateMoreInfoType", () => {
|
||||
assert.strictEqual(stateMoreInfoType(stateObj), "hidden");
|
||||
});
|
||||
|
||||
it("Returns default for switch states", () => {
|
||||
it("Returns default for tts states", () => {
|
||||
const stateObj: any = {
|
||||
entity_id: "switch.bla",
|
||||
entity_id: "tts.bla",
|
||||
attributes: {},
|
||||
};
|
||||
assert.strictEqual(stateMoreInfoType(stateObj), "default");
|
||||
|
||||
Reference in New Issue
Block a user