Skip to content

Commit

Permalink
remove unused packages and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alisher-epam committed Nov 3, 2023
1 parent 11bb6c9 commit 32ec435
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/DonorsList/AddDonorButton.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { MemoryRouter } from 'react-router-dom';
import { render, screen } from '@testing-library/react';

import AddDonorButton from './AddDonorButton';
Expand All @@ -12,18 +11,11 @@ const defaultProps = {
name: 'donors',
};

const wrapper = ({ children }) => (
<MemoryRouter>
{children}
</MemoryRouter>
);

const renderComponent = (props = {}) => (render(
<AddDonorButton
{...defaultProps}
{...props}
/>,
{ wrapper },
));

describe('AddDonorButton', () => {
Expand Down

0 comments on commit 32ec435

Please sign in to comment.