Skip to content

Commit c4e19db

Browse files
committed
Fix position
1 parent a4a6a63 commit c4e19db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ describe('position', () => {
184184
it('should return relative position for parent with absolute children', () => {
185185
const node = {
186186
type: 'COMPONENT_SET',
187+
parent: null,
187188
children: [
188189
{
189190
layoutPositioning: 'ABSOLUTE',
@@ -202,6 +203,7 @@ describe('position', () => {
202203
const node = {
203204
type: 'COMPONENT_SET',
204205
layoutPositioning: 'AUTO',
206+
parent: null,
205207
children: [
206208
{
207209
layoutPositioning: 'AUTO',

0 commit comments

Comments
 (0)