mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
Fix more info type test (#17758)
This commit is contained in:
parent
9c60a047c1
commit
6c7efc17c2
@ -18,9 +18,9 @@ describe("stateMoreInfoType", () => {
|
|||||||
assert.strictEqual(stateMoreInfoType(stateObj), "hidden");
|
assert.strictEqual(stateMoreInfoType(stateObj), "hidden");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Returns default for switch states", () => {
|
it("Returns default for tts states", () => {
|
||||||
const stateObj: any = {
|
const stateObj: any = {
|
||||||
entity_id: "switch.bla",
|
entity_id: "tts.bla",
|
||||||
attributes: {},
|
attributes: {},
|
||||||
};
|
};
|
||||||
assert.strictEqual(stateMoreInfoType(stateObj), "default");
|
assert.strictEqual(stateMoreInfoType(stateObj), "default");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user