gentest: allow for different default values

Summary:
@public

We use Chrome for generating test cases, which since v67 (or so) for `min-width` and `min-height` has a default value of either `0px` (CSS 2) or `auto` (CSS 3), depending on style properties.

Our setup only allowed for a single default value, and our test cases produce *both.*
This changes the test gen logic to allow for more than one value.

Reviewed By: SidharthGuglani

Differential Revision: D14682387

fbshipit-source-id: e76361f5cc0b88f9c2d74a5f3248c66abd6907a7
This commit is contained in:
David Aurelio
2019-03-29 06:26:59 -07:00
committed by Facebook Github Bot
parent c235301b52
commit 1fc8472d35
5 changed files with 36 additions and 25 deletions

View File

@@ -215,8 +215,6 @@ it("display_none_with_child", function () {
root_child1_child0.setFlexShrink(1);
root_child1_child0.setFlexBasis("0%");
root_child1_child0.setWidth(20);
root_child1_child0.setMinWidth(0);
root_child1_child0.setMinHeight(0);
root_child1.insertChild(root_child1_child0, 0);
var root_child2 = Yoga.Node.create(config);