diff --git a/src/components/SVG/VerticalLayout.test.js b/src/components/SVG/VerticalLayout.test.js index 24d69bb..3029122 100644 --- a/src/components/SVG/VerticalLayout.test.js +++ b/src/components/SVG/VerticalLayout.test.js @@ -31,4 +31,16 @@ describe('VerticalLayout', () => { component.update(); expect(component).toMatchSnapshot(); }); + + test('rendering with connectors (no sides)', async () => { + const component = mount( + + + + + ); + await component.instance().doReflow(); + component.update(); + expect(component).toMatchSnapshot(); + }); }); diff --git a/src/components/SVG/__snapshots__/VerticalLayout.test.js.snap b/src/components/SVG/__snapshots__/VerticalLayout.test.js.snap index d24d22c..c5f380b 100644 --- a/src/components/SVG/__snapshots__/VerticalLayout.test.js.snap +++ b/src/components/SVG/__snapshots__/VerticalLayout.test.js.snap @@ -69,6 +69,58 @@ exports[`VerticalLayout rendering 1`] = ` `; +exports[`VerticalLayout rendering with connectors (no sides) 1`] = ` + + + + + + Mock content + + + + + + + Mock content + + + + +`; + exports[`VerticalLayout rendering with connectors 1`] = `