diff --git a/lib/DonorsList/AddDonorButton.test.js b/lib/DonorsList/AddDonorButton.test.js
index 142c89b8..cdc84650 100644
--- a/lib/DonorsList/AddDonorButton.test.js
+++ b/lib/DonorsList/AddDonorButton.test.js
@@ -1,4 +1,3 @@
-import { MemoryRouter } from 'react-router-dom';
import { render, screen } from '@testing-library/react';
import AddDonorButton from './AddDonorButton';
@@ -12,18 +11,11 @@ const defaultProps = {
name: 'donors',
};
-const wrapper = ({ children }) => (
-
- {children}
-
-);
-
const renderComponent = (props = {}) => (render(
,
- { wrapper },
));
describe('AddDonorButton', () => {