import React from 'react'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import LoadingIndicator from '../index'; describe('', () => { it('should match the snapshot', () => { const renderedComponent = renderer.create().toJSON(); expect(renderedComponent).toMatchSnapshot(); }); });