yet another fix for test 👀
This commit is contained in:
@@ -42,8 +42,8 @@ test("dont_fail_with_incomplete_measure_dimensions", () => {
|
|||||||
root.insertChild(node3, root.getChildCount());
|
root.insertChild(node3, root.getChildCount());
|
||||||
|
|
||||||
node1.setMeasureFunc(heightOnlyCallback.inc);
|
node1.setMeasureFunc(heightOnlyCallback.inc);
|
||||||
node1.setMeasureFunc(widthOnlyCallback.inc);
|
node2.setMeasureFunc(widthOnlyCallback.inc);
|
||||||
node1.setMeasureFunc(emptyCallback.inc);
|
node3.setMeasureFunc(emptyCallback.inc);
|
||||||
|
|
||||||
root.calculateLayout(Yoga.UNDEFINED, Yoga.UNDEFINED, Yoga.DIRECTION_LTR);
|
root.calculateLayout(Yoga.UNDEFINED, Yoga.UNDEFINED, Yoga.DIRECTION_LTR);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user