Add circuit group commands
This commit is contained in:
@@ -139,6 +139,24 @@ describe("project version history presentation", () => {
|
||||
),
|
||||
"Verteilergerät bearbeitet"
|
||||
);
|
||||
assert.equal(
|
||||
getProjectRevisionDescription(
|
||||
revision(8, { commandType: "circuit-group.insert" })
|
||||
),
|
||||
"Stromkreisgruppe angelegt"
|
||||
);
|
||||
assert.equal(
|
||||
getProjectRevisionDescription(
|
||||
revision(9, { commandType: "circuit-group.delete" })
|
||||
),
|
||||
"Stromkreisgruppe entfernt"
|
||||
);
|
||||
assert.equal(
|
||||
getProjectRevisionDescription(
|
||||
revision(10, { commandType: "circuit-group.update" })
|
||||
),
|
||||
"Stromkreisgruppe bearbeitet"
|
||||
);
|
||||
assert.equal(getProjectSnapshotKindLabel("named"), "Benannt");
|
||||
assert.equal(
|
||||
getProjectSnapshotKindLabel("automatic"),
|
||||
|
||||
Reference in New Issue
Block a user