1
0
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:
renovate[bot]
2025-12-15 14:56:48 +02:00
committed by GitHub
parent 51acd271ea
commit 8f335668db
3 changed files with 3 additions and 3 deletions

2
.nvmrc
View File

@@ -1 +1 @@
22.21.1 24.12.0

View File

@@ -238,6 +238,6 @@
}, },
"packageManager": "yarn@4.12.0", "packageManager": "yarn@4.12.0",
"volta": { "volta": {
"node": "22.21.1" "node": "24.12.0"
} }
} }

View File

@@ -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(