import React from 'react' import Enzyme, { shallow } from 'enzyme' import Adapter from 'enzyme-adapter-react-16' import { Aside } from './' Enzyme.configure({ adapter: new Adapter() }) describe('Aside', (): void => { test('Render native component', (): void => { const component = shallow() expect(component).toMatchSnapshot() }) test('Render component with theme', (): void => { const component = shallow() expect(component).toMatchSnapshot() }) test('Render component without theme', (): void => { const component = shallow() expect(component).toMatchSnapshot() }) test('Render empty component', (): void => { const component = shallow() expect(component).toMatchSnapshot() }) })