From d3c8ce75775b8ff83e4204ae2709d74f792ff706 Mon Sep 17 00:00:00 2001 From: Siklos Date: Thu, 18 Aug 2022 14:45:05 +0200 Subject: [PATCH] Update test with new property --- src/Components/ElementsSidebar/ElementsSidebar.test.tsx | 7 +++++++ src/Components/Properties/Properties.test.tsx | 1 + 2 files changed, 8 insertions(+) diff --git a/src/Components/ElementsSidebar/ElementsSidebar.test.tsx b/src/Components/ElementsSidebar/ElementsSidebar.test.tsx index bf88f22..4f3b042 100644 --- a/src/Components/ElementsSidebar/ElementsSidebar.test.tsx +++ b/src/Components/ElementsSidebar/ElementsSidebar.test.tsx @@ -14,6 +14,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'main', parentId: null, + displayedText: 'main', x: 0, y: 0, width: 2000, @@ -47,6 +48,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'main', parentId: '', + displayedText: 'main', x: 0, y: 0, width: 2000, @@ -106,6 +108,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'main', parentId: '', + displayedText: 'main', x: 0, y: 0, minWidth: 1, @@ -125,6 +128,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'child-1', parentId: 'main', + displayedText: 'child-1', x: 0, y: 0, minWidth: 1, @@ -145,6 +149,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'child-2', parentId: 'main', + displayedText: 'child-2', x: 0, y: 0, minWidth: 1, @@ -185,6 +190,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'main', parentId: '', + displayedText: 'main', x: 0, y: 0, minWidth: 1, @@ -203,6 +209,7 @@ describe.concurrent('Elements sidebar', () => { properties: { id: 'child-1', parentId: 'main', + displayedText: 'child-1', x: 0, y: 0, minWidth: 1, diff --git a/src/Components/Properties/Properties.test.tsx b/src/Components/Properties/Properties.test.tsx index 0ede184..dbe0d65 100644 --- a/src/Components/Properties/Properties.test.tsx +++ b/src/Components/Properties/Properties.test.tsx @@ -23,6 +23,7 @@ describe.concurrent('Properties', () => { const prop: IProperties = { id: 'stuff', parentId: 'parentId', + displayedText: 'stuff', x: 1, y: 1, width: 1,