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