Update tests with new properties

This commit is contained in:
Eric NGUYEN 2022-09-29 16:15:51 +02:00
parent 7836d27d5f
commit 38666af314
2 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ describe.concurrent('Properties', () => {
showChildrenDimensions: true, // TODO: put the dimension at the top (see pdf) showChildrenDimensions: true, // TODO: put the dimension at the top (see pdf)
showSelfDimensions: true, // TODO: put the dimension at the bottom (see pdf) showSelfDimensions: true, // TODO: put the dimension at the bottom (see pdf)
isDimensionBorrower: true, // second dimensions from the bottom isDimensionBorrower: true, // second dimensions from the bottom
markPositionToDimensionBorrower: false markPositionToDimensionBorrower: []
}; };
const handleChange = vi.fn((key, value) => { const handleChange = vi.fn((key, value) => {

View file

@ -113,7 +113,7 @@ describe.concurrent('Elements sidebar', () => {
showChildrenDimensions: true, showChildrenDimensions: true,
showSelfDimensions: true, showSelfDimensions: true,
isDimensionBorrower: true, isDimensionBorrower: true,
markPositionToDimensionBorrower: false, markPositionToDimensionBorrower: [],
positionReference: PositionReference.TopLeft positionReference: PositionReference.TopLeft
}, },
userData: {} userData: {}
@ -147,7 +147,7 @@ describe.concurrent('Elements sidebar', () => {
showChildrenDimensions: true, showChildrenDimensions: true,
showSelfDimensions: true, showSelfDimensions: true,
isDimensionBorrower: true, isDimensionBorrower: true,
markPositionToDimensionBorrower: false, markPositionToDimensionBorrower: [],
isAnchor: false isAnchor: false
}, },
userData: {} userData: {}
@ -207,7 +207,7 @@ describe.concurrent('Elements sidebar', () => {
showChildrenDimensions: true, showChildrenDimensions: true,
showSelfDimensions: true, showSelfDimensions: true,
isDimensionBorrower: true, isDimensionBorrower: true,
markPositionToDimensionBorrower: false, markPositionToDimensionBorrower: [],
isAnchor: false isAnchor: false
}, },
userData: {} userData: {}