import React from 'react'; import {mountWithTheme} from 'sentry-test/enzyme'; import SpreadLayout from 'app/components/spreadLayout'; describe('SpreadLayout', function() { it('renders with one child', function() { const component = mountWithTheme(
child
); expect(component).toSnapshot(); }); it('renders with multiple children', function() { const component = mountWithTheme(
child #1
child #2
); expect(component).toSnapshot(); }); });