modernize JS
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html
|
||||
|
||||
test("flex_basis_flex_grow_column", function () {
|
||||
test("flex_basis_flex_grow_column", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -65,7 +65,7 @@ test("flex_basis_flex_grow_column", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_shrink_flex_grow_row", function () {
|
||||
test("flex_shrink_flex_grow_row", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -127,7 +127,7 @@ test("flex_shrink_flex_grow_row", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_shrink_flex_grow_child_flex_shrink_other_child", function () {
|
||||
test("flex_shrink_flex_grow_child_flex_shrink_other_child", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -190,7 +190,7 @@ test("flex_shrink_flex_grow_child_flex_shrink_other_child", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_basis_flex_grow_row", function () {
|
||||
test("flex_basis_flex_grow_row", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -249,7 +249,7 @@ test("flex_basis_flex_grow_row", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_basis_flex_shrink_column", function () {
|
||||
test("flex_basis_flex_shrink_column", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -307,7 +307,7 @@ test("flex_basis_flex_shrink_column", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_basis_flex_shrink_row", function () {
|
||||
test("flex_basis_flex_shrink_row", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -366,7 +366,7 @@ test("flex_basis_flex_shrink_row", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_shrink_to_zero", function () {
|
||||
test("flex_shrink_to_zero", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -440,7 +440,7 @@ test("flex_shrink_to_zero", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_basis_overrides_main_size", function () {
|
||||
test("flex_basis_overrides_main_size", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -515,7 +515,7 @@ test("flex_basis_overrides_main_size", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_grow_shrink_at_most", function () {
|
||||
test("flex_grow_shrink_at_most", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -572,7 +572,7 @@ test("flex_grow_shrink_at_most", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_grow_less_than_factor_one", function () {
|
||||
test("flex_grow_less_than_factor_one", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
|
Reference in New Issue
Block a user