(expectedRowHeights: string[], table: SugarElement<HTMLTableElement>, newTableHeight: string)
| 134 | }; |
| 135 | |
| 136 | const checkRowHeight = (expectedRowHeights: string[], table: SugarElement<HTMLTableElement>, newTableHeight: string) => { |
| 137 | Insert.append(SugarBody.body(), table); |
| 138 | Sizes.redistribute(table, Optional.none(), Optional.some(newTableHeight)); |
| 139 | Assert.eq('check height row', expectedRowHeights, readRowHeights(table)); |
| 140 | Remove.remove(table); |
| 141 | }; |
| 142 | |
| 143 | const checkBasicRowHeightWithTrs = (expectedRowHeights: string[], trHeightsInput: string[], initialTableHeight: string, newTableHeight: string) => { |
| 144 | const table = generateH([[]], trHeightsInput, initialTableHeight); |
no test coverage detected
searching dependent graphs…