Extracted sorting dropdown to its own component

This commit is contained in:
Alejandro Celaya
2018-10-28 21:26:47 +01:00
parent 56ad6d9e1b
commit 4ad8e909d4
9 changed files with 168 additions and 61 deletions

View File

@@ -9,9 +9,7 @@ describe('<AsideMenu />', () => {
beforeEach(() => {
wrapped = shallow(<AsideMenu selectedServer={{ id: 'abc123' }} />);
});
afterEach(() => {
wrapped.unmount();
});
afterEach(() => wrapped.unmount());
it('contains links to different sections', () => {
const links = wrapped.find(NavLink);