Skip to content

Commit fae6ccc

Browse files
committed
Fix position
1 parent a4b29b5 commit fae6ccc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,11 @@ describe('position', () => {
184184
it('should return relative position for parent with absolute children', () => {
185185
const node = {
186186
type: 'FRAME',
187+
fills: [],
187188
children: [
188189
{
189190
layoutPositioning: 'ABSOLUTE',
191+
visible: true,
190192
},
191193
],
192194
} as any
@@ -201,9 +203,11 @@ describe('position', () => {
201203
const node = {
202204
type: 'FRAME',
203205
layoutPositioning: 'AUTO',
206+
fills: [],
204207
children: [
205208
{
206209
layoutPositioning: 'AUTO',
210+
visible: true,
207211
},
208212
],
209213
} as any

0 commit comments

Comments
 (0)