import React from 'react';
import { shallow, mount } from 'enzyme';
import StoryBody from '.';
import 'jest-styled-components';
describe('StoryBodyText component', () => {
test('renders', () => {
const wrapper = shallow(Ut posuere felis et elementum lacinia.);
expect(wrapper).toMatchSnapshot();
});
test('the text is equal to `Ut posuere felis et elementum lacinia.`', () => {
const wrapper = mount(Ut posuere felis et elementum lacinia.);
expect(wrapper.text()).toEqual('Ut posuere felis et elementum lacinia.');
});
});