import { mount } from 'enzyme'; import React from 'react'; import Indicator from '../Indicator'; describe('Indicator', () => { it('matches the snapshot', () => { const child = 'Child'; const component = mount( {child} ); expect(component).toMatchSnapshot(); }); });