From 32ec435a3c3a4513fcc12977662ed478b319883b Mon Sep 17 00:00:00 2001 From: Alisher Musurmonov Date: Fri, 3 Nov 2023 16:52:38 +0500 Subject: [PATCH] remove unused packages and imports --- lib/DonorsList/AddDonorButton.test.js | 8 -------- 1 file changed, 8 deletions(-) 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', () => {