Improve editor totals and formatting
This commit is contained in:
@@ -164,6 +164,15 @@ describe("circuit grid projection", () => {
|
||||
rows.at(-1)?.cells.find((cell) => cell.cellKey === "equipmentIdentifier")?.value,
|
||||
"-frei-"
|
||||
);
|
||||
const circuitSummary = rows.find((row) => row.rowType === "circuitSummary");
|
||||
assert.equal(
|
||||
circuitSummary?.cells.find((cell) => cell.cellKey === "rowTotalPower")?.value,
|
||||
multiDeviceCircuit.circuitTotalPower
|
||||
);
|
||||
assert.equal(
|
||||
circuitSummary?.cells.some((cell) => cell.cellKey === "circuitTotalPower"),
|
||||
false
|
||||
);
|
||||
});
|
||||
|
||||
it("collects filter options from both circuit and device values", () => {
|
||||
|
||||
Reference in New Issue
Block a user