MCPcopy
hub / github.com/tinymce/tinymce / checkRowHeight

Function checkRowHeight

modules/snooker/src/test/ts/browser/TableSizesTest.ts:136–141  ·  view source on GitHub ↗
(expectedRowHeights: string[], table: SugarElement<HTMLTableElement>, newTableHeight: string)

Source from the content-addressed store, hash-verified

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);

Callers 3

TableSizesTest.tsFile · 0.85

Calls 5

readRowHeightsFunction · 0.90
appendMethod · 0.80
noneMethod · 0.80
someMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…