import { render } from 'enzyme'; import CountdownBar from './index'; describe('CountdownBar', () => { it('Should not throw', () => { expect(() => ).not.toThrow(); }); it('Should match snapshot', () => { expect(render()).toMatchSnapshot(); }); });