Add component structure commands

This commit is contained in:
2026-07-30 19:38:48 +02:00
parent 9d4d4082fe
commit 604604f056
15 changed files with 1058 additions and 5 deletions
+16
View File
@@ -115,6 +115,22 @@ describe("project version history presentation", () => {
),
"Projekteinstellungen bearbeitet"
);
assert.equal(
getProjectRevisionDescription(
revision(5, {
commandType: "distribution-board-component.insert",
})
),
"Verteilergerät angelegt"
);
assert.equal(
getProjectRevisionDescription(
revision(6, {
commandType: "distribution-board-component.delete",
})
),
"Verteilergerät entfernt"
);
assert.equal(getProjectSnapshotKindLabel("named"), "Benannt");
assert.equal(
getProjectSnapshotKindLabel("automatic"),