File size: 367 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import LoadingIndicator from '../index';
describe('<LoadingIndicator />', () => {
it('should match the snapshot', () => {
const renderedComponent = renderer.create(<LoadingIndicator />).toJSON();
expect(renderedComponent).toMatchSnapshot();
});
});
|