Move Organization screens and tests into new folder structure

This commit is contained in:
Marliana Lara
2018-12-21 16:15:39 -05:00
parent f521fe5cbc
commit d040f063e9
14 changed files with 120 additions and 124 deletions

View File

@@ -0,0 +1,16 @@
import React from 'react';
import { mount } from 'enzyme';
import { MemoryRouter } from 'react-router-dom';
import OrganizationEdit from '../../../../../src/pages/Organizations/screens/Organization/OrganizationEdit';
describe('<OrganizationEdit />', () => {
test('initially renders succesfully', () => {
mount(
<MemoryRouter initialEntries={['/organizations/1/edit']} initialIndex={0}>
<OrganizationEdit
match={{ path: '/organizations/:id/edit', url: '/organizations/1/edit', params: { id: 1 } }}
/>
</MemoryRouter>
);
});
});