import test from 'ava';
import React from 'react';
import { shallow } from 'enzyme';
import Icon from '../components/icon/index.tsx';
let iconNode;
test.beforeEach(() => {
iconNode = shallow(
);
});
test('should render to a ', (t) => {
t.is(iconNode.type(), 'i');
t.true(iconNode.hasClass('my-icon-classname'));
t.true(iconNode.hasClass('anticon'));
t.true(iconNode.hasClass('anticon-appstore'));
});