test(components): remove sidebar test

This commit is contained in:
George Lima 2019-01-23 12:36:29 -03:00
parent 34eba62942
commit e15f1c58cc
1 changed files with 0 additions and 23 deletions

View File

@ -1,23 +0,0 @@
// @flow
import React from 'react';
import { render } from 'react-testing-library';
import { MemoryRouter } from 'react-router-dom';
import 'jest-dom/extend-expect';
import { SidebarComponent } from '../../app/components/sidebar';
describe('<Sidebar />', () => {
describe('render()', () => {
test('should render correctly', () => {
// $FlowFixMe
const { asFragment } = render(
<MemoryRouter>
<SidebarComponent location={{ pathname: '/', hash: '/', search: '' }} />
</MemoryRouter>,
);
expect(asFragment()).toMatchSnapshot();
});
});
});