forked from jappel/leistungsbilanz-ts
Improve editor totals and formatting
This commit is contained in:
parent
a04c2c04d4
commit
0180f768ac
8 changed files with 134 additions and 55 deletions
|
|
@ -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", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue