jest.useFakeTimers(); import React from 'react'; import { shallow } from 'enzyme'; import Tabs from './'; describe('Tabs', () => { it('should render correctly', () => { const wrapper = shallow( , ); expect(wrapper).toMatchSnapshot(); }); });