mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
Update Node.js to v24 (#27687)
* Update Node.js to v24 * fix test --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
This commit is contained in:
@@ -238,6 +238,6 @@
|
|||||||
},
|
},
|
||||||
"packageManager": "yarn@4.12.0",
|
"packageManager": "yarn@4.12.0",
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "22.21.1"
|
"node": "24.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -643,7 +643,7 @@ describe("computeStateDisplayFromEntityAttributes with numeric device classes",
|
|||||||
},
|
},
|
||||||
"12"
|
"12"
|
||||||
);
|
);
|
||||||
expect(result).toBe("12.00 min");
|
expect(result).toBe("12m");
|
||||||
});
|
});
|
||||||
it("Should format duration sensor with seconds", () => {
|
it("Should format duration sensor with seconds", () => {
|
||||||
const result = computeStateDisplayFromEntityAttributes(
|
const result = computeStateDisplayFromEntityAttributes(
|
||||||
|
|||||||
Reference in New Issue
Block a user