modernize JS
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html
|
||||
|
||||
test("display_none", function () {
|
||||
test("display_none", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -66,7 +66,7 @@ test("display_none", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("display_none_fixed_size", function () {
|
||||
test("display_none_fixed_size", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -126,7 +126,7 @@ test("display_none_fixed_size", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("display_none_with_margin", function () {
|
||||
test("display_none_with_margin", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -190,7 +190,7 @@ test("display_none_with_margin", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("display_none_with_child", function () {
|
||||
test("display_none_with_child", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -286,7 +286,7 @@ test("display_none_with_child", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("display_none_with_position", function () {
|
||||
test("display_none_with_position", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -346,7 +346,7 @@ test("display_none_with_position", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("display_none_with_position_absolute", function () {
|
||||
test("display_none_with_position_absolute", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
|
Reference in New Issue
Block a user