modernize JS
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html
|
||||
|
||||
test("flex_direction_column_no_height", function () {
|
||||
test("flex_direction_column_no_height", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -77,7 +77,7 @@ test("flex_direction_column_no_height", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_direction_row_no_width", function () {
|
||||
test("flex_direction_row_no_width", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -148,7 +148,7 @@ test("flex_direction_row_no_width", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_direction_column", function () {
|
||||
test("flex_direction_column", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -219,7 +219,7 @@ test("flex_direction_column", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_direction_row", function () {
|
||||
test("flex_direction_row", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -291,7 +291,7 @@ test("flex_direction_row", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_direction_column_reverse", function () {
|
||||
test("flex_direction_column_reverse", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -363,7 +363,7 @@ test("flex_direction_column_reverse", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("flex_direction_row_reverse", function () {
|
||||
test("flex_direction_row_reverse", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
|
Reference in New Issue
Block a user