import React from 'react';
import { mount } from 'enzyme';
import { expect } from 'chai';
import { describe, it, specs } from '../../storybook/facade';
import SidebarSupport from './index';

export default (stories) => {
	stories.add('SidebarSupport', () => {
		const component = (
			<div style={{ width: 350, backgroundColor: '#515151' }}>
				<SidebarSupport />
			</div>
		);

		specs(() => describe('SidebarSupport', () => {
			const wrapper = mount(component);

			it('Should be ok', () => {
				expect(wrapper).be.ok;
			});
		}));

		return component;
	});
};
