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