DocSpace-buildtools/web/ASC.Web.Components/src/components/error-container/error-container.test.js

14 lines
308 B
JavaScript
Raw Normal View History

import React from 'react';
import { mount } from 'enzyme';
import ErrorContainer from '.';
describe('<ErrorContainer />', () => {
it('renders without error', () => {
const wrapper = mount(
<ErrorContainer>Some error has happened</ErrorContainer>
);
expect(wrapper).toExist();
});
});