import React from 'react';
import { render } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import Button from '../components/button/button';
describe('Button', function() {
it('renders correctly', () => {
const wrapper = render(
);
expect(renderToJson(wrapper)).toMatchSnapshot();
});
it('renders Chinese characters correctly', () => {
const wrapper = render(
);
expect(renderToJson(wrapper)).toMatchSnapshot();
});
});