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

export default (stories) => {
	stories.add('FilterScope', () => {
		const component = (
			<FilterScope
				onClick={(e, o) => {
					console.log(o);
				}}
			/>
		);

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

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

		return component;
	});
};
