Modernize generated JS tests
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
it("padding_start", function () {
|
||||
var root = Yoga.Node.create();
|
||||
const root = Yoga.Node.create();
|
||||
root.setWidth(100);
|
||||
root.setHeight(100);
|
||||
root.setPadding(Yoga.EDGE_START, `10%`);
|
||||
|
Reference in New Issue
Block a user