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/YGFlexWrapTest.html
test("wrap_column", function () {
test("wrap_column", () => {
const config = Yoga.Config.create();
let root;
@@ -96,7 +96,7 @@ test("wrap_column", function () {
config.free();
}
});
test("wrap_row", function () {
test("wrap_row", () => {
const config = Yoga.Config.create();
let root;
@@ -186,7 +186,7 @@ test("wrap_row", function () {
config.free();
}
});
test("wrap_row_align_items_flex_end", function () {
test("wrap_row_align_items_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -277,7 +277,7 @@ test("wrap_row_align_items_flex_end", function () {
config.free();
}
});
test("wrap_row_align_items_center", function () {
test("wrap_row_align_items_center", () => {
const config = Yoga.Config.create();
let root;
@@ -368,7 +368,7 @@ test("wrap_row_align_items_center", function () {
config.free();
}
});
test("flex_wrap_children_with_min_main_overriding_flex_basis", function () {
test("flex_wrap_children_with_min_main_overriding_flex_basis", () => {
const config = Yoga.Config.create();
let root;
@@ -430,7 +430,7 @@ test("flex_wrap_children_with_min_main_overriding_flex_basis", function () {
config.free();
}
});
test("flex_wrap_wrap_to_child_height", function () {
test("flex_wrap_wrap_to_child_height", () => {
const config = Yoga.Config.create();
let root;
@@ -517,7 +517,7 @@ test("flex_wrap_wrap_to_child_height", function () {
config.free();
}
});
test("flex_wrap_align_stretch_fits_one_row", function () {
test("flex_wrap_align_stretch_fits_one_row", () => {
const config = Yoga.Config.create();
let root;
@@ -576,7 +576,7 @@ test("flex_wrap_align_stretch_fits_one_row", function () {
config.free();
}
});
test("wrap_reverse_row_align_content_flex_start", function () {
test("wrap_reverse_row_align_content_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -681,7 +681,7 @@ test("wrap_reverse_row_align_content_flex_start", function () {
config.free();
}
});
test("wrap_reverse_row_align_content_center", function () {
test("wrap_reverse_row_align_content_center", () => {
const config = Yoga.Config.create();
let root;
@@ -787,7 +787,7 @@ test("wrap_reverse_row_align_content_center", function () {
config.free();
}
});
test("wrap_reverse_row_single_line_different_size", function () {
test("wrap_reverse_row_single_line_different_size", () => {
const config = Yoga.Config.create();
let root;
@@ -892,7 +892,7 @@ test("wrap_reverse_row_single_line_different_size", function () {
config.free();
}
});
test("wrap_reverse_row_align_content_stretch", function () {
test("wrap_reverse_row_align_content_stretch", () => {
const config = Yoga.Config.create();
let root;
@@ -998,7 +998,7 @@ test("wrap_reverse_row_align_content_stretch", function () {
config.free();
}
});
test("wrap_reverse_row_align_content_space_around", function () {
test("wrap_reverse_row_align_content_space_around", () => {
const config = Yoga.Config.create();
let root;
@@ -1104,7 +1104,7 @@ test("wrap_reverse_row_align_content_space_around", function () {
config.free();
}
});
test("wrap_reverse_column_fixed_size", function () {
test("wrap_reverse_column_fixed_size", () => {
const config = Yoga.Config.create();
let root;
@@ -1210,7 +1210,7 @@ test("wrap_reverse_column_fixed_size", function () {
config.free();
}
});
test("wrapped_row_within_align_items_center", function () {
test("wrapped_row_within_align_items_center", () => {
const config = Yoga.Config.create();
let root;
@@ -1285,7 +1285,7 @@ test("wrapped_row_within_align_items_center", function () {
config.free();
}
});
test("wrapped_row_within_align_items_flex_start", function () {
test("wrapped_row_within_align_items_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -1360,7 +1360,7 @@ test("wrapped_row_within_align_items_flex_start", function () {
config.free();
}
});
test("wrapped_row_within_align_items_flex_end", function () {
test("wrapped_row_within_align_items_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -1435,7 +1435,7 @@ test("wrapped_row_within_align_items_flex_end", function () {
config.free();
}
});
test("wrapped_column_max_height", function () {
test("wrapped_column_max_height", () => {
const config = Yoga.Config.create();
let root;
@@ -1518,7 +1518,7 @@ test("wrapped_column_max_height", function () {
config.free();
}
});
test("wrapped_column_max_height_flex", function () {
test("wrapped_column_max_height_flex", () => {
const config = Yoga.Config.create();
let root;
@@ -1607,7 +1607,7 @@ test("wrapped_column_max_height_flex", function () {
config.free();
}
});
test("wrap_nodes_with_content_sizing_overflowing_margin", function () {
test("wrap_nodes_with_content_sizing_overflowing_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -1709,7 +1709,7 @@ test("wrap_nodes_with_content_sizing_overflowing_margin", function () {
config.free();
}
});
test("wrap_nodes_with_content_sizing_margin_cross", function () {
test("wrap_nodes_with_content_sizing_margin_cross", () => {
const config = Yoga.Config.create();
let root;