import React from 'react';
import { mount } from 'enzyme';
import Readme from './Readme';
describe(' component', () => {
test('should load the component in default state', () => {
const wrapper = mount();
expect(wrapper.html()).toMatchSnapshot();
});
test('should dangerously set html', () => {
const wrapper = mount();
expect(wrapper.html()).toEqual('
This is a test string
');
expect(wrapper.html()).toMatchSnapshot();
});
});