@@ -84,41 +84,35 @@ describe("layout", () => {
84
84
} ) ;
85
85
} ) ;
86
86
87
- describe ( ' stretching an autosized container' , ( ) => {
87
+ describe ( " stretching an autosized container" , ( ) => {
88
88
flexTestUtils . addMochaTestForAnnotatedStructure ( "column: autosize w,h" , {
89
89
flex : { enabled : true , direction : "column" } ,
90
90
w : 500 ,
91
91
h : 100 ,
92
92
r : [ 0 , 0 , 500 , 100 ] ,
93
93
children : [
94
94
{
95
- flex : { enabled : true , direction : "column" } ,
95
+ flex : { enabled : true , direction : "column" } ,
96
96
r : [ 0 , 0 , 500 , 100 ] ,
97
- children : [
98
- { w : 100 , h : 100 , r : [ 0 , 0 , 100 , 100 ] }
99
- ]
100
- }
97
+ children : [ { w : 100 , h : 100 , r : [ 0 , 0 , 100 , 100 ] } ] ,
98
+ } ,
101
99
] ,
102
100
} ) ;
103
101
} ) ;
104
102
105
-
106
- describe ( 'growing an autosized container' , ( ) => {
103
+ describe ( "growing an autosized container" , ( ) => {
107
104
flexTestUtils . addMochaTestForAnnotatedStructure ( "column: autosize w,h" , {
108
105
flex : { enabled : true , direction : "row" } ,
109
106
w : 500 ,
110
107
r : [ 0 , 0 , 500 , 100 ] ,
111
108
children : [
112
109
{
113
- flex : { enabled : true } ,
114
- flexItem : { grow : 1 } ,
110
+ flex : { enabled : true } ,
111
+ flexItem : { grow : 1 } ,
115
112
r : [ 0 , 0 , 500 , 100 ] ,
116
- children : [
117
- { w : 100 , h : 100 , r : [ 0 , 0 , 100 , 100 ] }
118
- ]
119
- }
113
+ children : [ { w : 100 , h : 100 , r : [ 0 , 0 , 100 , 100 ] } ] ,
114
+ } ,
120
115
] ,
121
116
} ) ;
122
117
} ) ;
123
-
124
118
} ) ;
0 commit comments