Skip to content

Commit 70c9ac7

Browse files
committed
Fix position
1 parent fae6ccc commit 70c9ac7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/codegen/props/__tests__/position.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,14 @@ describe('position', () => {
187187
fills: [],
188188
children: [
189189
{
190+
type: 'TEXT',
190191
layoutPositioning: 'ABSOLUTE',
191192
visible: true,
192193
},
194+
{
195+
type: 'TEXT',
196+
visible: true,
197+
},
193198
],
194199
} as any
195200
const result = getPositionProps(node)
@@ -206,9 +211,14 @@ describe('position', () => {
206211
fills: [],
207212
children: [
208213
{
214+
type: 'TEXT',
209215
layoutPositioning: 'AUTO',
210216
visible: true,
211217
},
218+
{
219+
type: 'TEXT',
220+
visible: true,
221+
},
212222
],
213223
} as any
214224

0 commit comments

Comments
 (0)