modernize JS

This commit is contained in:
Nick Gerleman
2022-12-24 02:17:10 -08:00
parent c4fe4823a7
commit bf81d8e180
33 changed files with 371 additions and 369 deletions

View File

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