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/YGAlignContentTest.html
test("align_content_flex_start", function () {
test("align_content_flex_start", () => {
const config = Yoga.Config.create();
let root;
@@ -113,7 +113,7 @@ test("align_content_flex_start", function () {
config.free();
}
});
test("align_content_flex_start_without_height_on_children", function () {
test("align_content_flex_start_without_height_on_children", () => {
const config = Yoga.Config.create();
let root;
@@ -215,7 +215,7 @@ test("align_content_flex_start_without_height_on_children", function () {
config.free();
}
});
test("align_content_flex_start_with_flex", function () {
test("align_content_flex_start_with_flex", () => {
const config = Yoga.Config.create();
let root;
@@ -323,7 +323,7 @@ test("align_content_flex_start_with_flex", function () {
config.free();
}
});
test("align_content_flex_end", function () {
test("align_content_flex_end", () => {
const config = Yoga.Config.create();
let root;
@@ -429,7 +429,7 @@ test("align_content_flex_end", function () {
config.free();
}
});
test("align_content_stretch", function () {
test("align_content_stretch", () => {
const config = Yoga.Config.create();
let root;
@@ -530,7 +530,7 @@ test("align_content_stretch", function () {
config.free();
}
});
test("align_content_spacebetween", function () {
test("align_content_spacebetween", () => {
const config = Yoga.Config.create();
let root;
@@ -637,7 +637,7 @@ test("align_content_spacebetween", function () {
config.free();
}
});
test("align_content_spacearound", function () {
test("align_content_spacearound", () => {
const config = Yoga.Config.create();
let root;
@@ -744,7 +744,7 @@ test("align_content_spacearound", function () {
config.free();
}
});
test("align_content_stretch_row", function () {
test("align_content_stretch_row", () => {
const config = Yoga.Config.create();
let root;
@@ -846,7 +846,7 @@ test("align_content_stretch_row", function () {
config.free();
}
});
test("align_content_stretch_row_with_children", function () {
test("align_content_stretch_row_with_children", () => {
const config = Yoga.Config.create();
let root;
@@ -964,7 +964,7 @@ test("align_content_stretch_row_with_children", function () {
config.free();
}
});
test("align_content_stretch_row_with_flex", function () {
test("align_content_stretch_row_with_flex", () => {
const config = Yoga.Config.create();
let root;
@@ -1072,7 +1072,7 @@ test("align_content_stretch_row_with_flex", function () {
config.free();
}
});
test("align_content_stretch_row_with_flex_no_shrink", function () {
test("align_content_stretch_row_with_flex_no_shrink", () => {
const config = Yoga.Config.create();
let root;
@@ -1179,7 +1179,7 @@ test("align_content_stretch_row_with_flex_no_shrink", function () {
config.free();
}
});
test("align_content_stretch_row_with_margin", function () {
test("align_content_stretch_row_with_margin", () => {
const config = Yoga.Config.create();
let root;
@@ -1289,7 +1289,7 @@ test("align_content_stretch_row_with_margin", function () {
config.free();
}
});
test("align_content_stretch_row_with_padding", function () {
test("align_content_stretch_row_with_padding", () => {
const config = Yoga.Config.create();
let root;
@@ -1399,7 +1399,7 @@ test("align_content_stretch_row_with_padding", function () {
config.free();
}
});
test("align_content_stretch_row_with_single_row", function () {
test("align_content_stretch_row_with_single_row", () => {
const config = Yoga.Config.create();
let root;
@@ -1459,7 +1459,7 @@ test("align_content_stretch_row_with_single_row", function () {
config.free();
}
});
test("align_content_stretch_row_with_fixed_height", function () {
test("align_content_stretch_row_with_fixed_height", () => {
const config = Yoga.Config.create();
let root;
@@ -1562,7 +1562,7 @@ test("align_content_stretch_row_with_fixed_height", function () {
config.free();
}
});
test("align_content_stretch_row_with_max_height", function () {
test("align_content_stretch_row_with_max_height", () => {
const config = Yoga.Config.create();
let root;
@@ -1665,7 +1665,7 @@ test("align_content_stretch_row_with_max_height", function () {
config.free();
}
});
test("align_content_stretch_row_with_min_height", function () {
test("align_content_stretch_row_with_min_height", () => {
const config = Yoga.Config.create();
let root;
@@ -1768,7 +1768,7 @@ test("align_content_stretch_row_with_min_height", function () {
config.free();
}
});
test("align_content_stretch_column", function () {
test("align_content_stretch_column", () => {
const config = Yoga.Config.create();
let root;
@@ -1888,7 +1888,7 @@ test("align_content_stretch_column", function () {
config.free();
}
});
test("align_content_stretch_is_not_overriding_align_items", function () {
test("align_content_stretch_is_not_overriding_align_items", () => {
const config = Yoga.Config.create();
let root;