import React from 'react';
import { mount } from 'enzyme';
import VerticalLayout from './VerticalLayout';
import SVGElement from '__mocks__/SVGElement';
describe('VerticalLayout', () => {
test('rendering', async () => {
const component = mount(
);
await component.instance().doReflow();
component.update();
expect(component).toMatchSnapshot();
});
test('rendering with connectors', async () => {
const component = mount(
);
await component.instance().doReflow();
component.update();
expect(component).toMatchSnapshot();
});
test('rendering with connectors (no sides)', async () => {
const component = mount(
);
await component.instance().doReflow();
component.update();
expect(component).toMatchSnapshot();
});
});