Addresses PR feedback

This commit is contained in:
Alex Corey
2019-04-05 11:29:48 -04:00
parent de55ec1688
commit a42a1bfa17
2 changed files with 0 additions and 3 deletions

View File

@@ -72,7 +72,6 @@ describe('<OrganizationsList />', () => {
</MemoryRouter>
);
wrapper.find({ type: 'checkbox' }).simulate('click');
wrapper.find('button[aria-label="Delete"]').simulate('click');
wrapper.find('DataListToolbar').prop('onOpenDeleteModal')();
expect(wrapper.find('OrganizationsList').state().isModalOpen).toEqual(true);
@@ -129,7 +128,6 @@ describe('<OrganizationsList />', () => {
wrapper.find('button[aria-label="confirm-delete"]').simulate('click');
expect(list.state().orgsToDelete.length).toEqual(list.state().orgsDeleted.length);
expect(fetchOrganizations).toHaveBeenCalled();
expect(list.state().results).toHaveLength(0);
done();
});
});