DocSpace-client/web/ASC.Web.Components/src/components/text/text.test.js

16 lines
299 B
JavaScript
Raw Normal View History

import React from 'react';
import { mount } from 'enzyme';
import Text from '.';
describe('<Text />', () => {
it('renders without error', () => {
const wrapper = mount(
<Text as='p' title='Some title'>
Some text
</Text>
);
expect(wrapper).toExist();
});
});