modernize JS
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html
|
||||
|
||||
test("align_self_center", function () {
|
||||
test("align_self_center", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -52,7 +52,7 @@ test("align_self_center", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("align_self_flex_end", function () {
|
||||
test("align_self_flex_end", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -97,7 +97,7 @@ test("align_self_flex_end", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("align_self_flex_start", function () {
|
||||
test("align_self_flex_start", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -142,7 +142,7 @@ test("align_self_flex_start", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("align_self_flex_end_override_flex_start", function () {
|
||||
test("align_self_flex_end_override_flex_start", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -188,7 +188,7 @@ test("align_self_flex_end_override_flex_start", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("align_self_baseline", function () {
|
||||
test("align_self_baseline", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
|
Reference in New Issue
Block a user