@@ -64,14 +64,14 @@ describe('apply-layout', () => {
64
64
...nodes [ 1 ] ,
65
65
position : {
66
66
x : 12 ,
67
- y : 76 , // 12 + 44 (0 fields height) + 2*10 (padding)
67
+ y : 86 , // 12 + 44 (0 fields height) + 2*10 (padding) + 10 (extra padding)
68
68
} ,
69
69
} ) ,
70
70
expect . objectContaining ( {
71
71
...nodes [ 2 ] ,
72
72
position : {
73
73
x : 12 ,
74
- y : 140 , // 76 + 44 (0 fields height) + 2*10 (padding)
74
+ y : 160 , // 86 + 44 (0 fields height) + 2*10 (padding) + 10 (extra padding)
75
75
} ,
76
76
} ) ,
77
77
] ) ;
@@ -94,14 +94,14 @@ describe('apply-layout', () => {
94
94
...nodesWithOneField [ 1 ] ,
95
95
position : {
96
96
x : 12 ,
97
- y : 94 , // 12 + 62 (1 field height) + 2*10 (padding)
97
+ y : 104 , // 12 + 62 (1 field height) + 2*10 (padding) + 10 (extra padding)
98
98
} ,
99
99
} ) ,
100
100
expect . objectContaining ( {
101
101
...nodesWithOneField [ 2 ] ,
102
102
position : {
103
103
x : 12 ,
104
- y : 176 , // 94 + 62 (1 field height) + 2*10 (padding)
104
+ y : 196 , // 104 + 62 (1 field height) + 2*10 (padding) + 10 (extra padding)
105
105
} ,
106
106
} ) ,
107
107
] ) ;
@@ -124,14 +124,14 @@ describe('apply-layout', () => {
124
124
...baseNodes [ 1 ] ,
125
125
position : {
126
126
x : 12 ,
127
- y : 94 , // 12 + 62 (default height) + 2*10 (padding)
127
+ y : 104 , // 12 + 62 (default height) + 2*10 (padding) + 10 (extra padding)
128
128
} ,
129
129
} ) ,
130
130
expect . objectContaining ( {
131
131
...baseNodes [ 2 ] ,
132
132
position : {
133
133
x : 12 ,
134
- y : 176 , // 94 + 62 (default height) + 2*10 (padding)
134
+ y : 196 , // 104 + 62 (default height) + 2*10 (padding) + 10 (extra padding)
135
135
} ,
136
136
} ) ,
137
137
] ) ;
@@ -188,7 +188,7 @@ describe('apply-layout', () => {
188
188
id : '1' ,
189
189
position : {
190
190
x : 12 ,
191
- y : 76 ,
191
+ y : 86 ,
192
192
} ,
193
193
} ) ,
194
194
expect . objectContaining ( {
@@ -208,7 +208,7 @@ describe('apply-layout', () => {
208
208
id : '3' ,
209
209
position : {
210
210
x : 12 ,
211
- y : 220 ,
211
+ y : 240 ,
212
212
} ,
213
213
} ) ,
214
214
] ) ;
0 commit comments