Skip to content

Commit

Permalink
Fix: fix node cli errors
Browse files Browse the repository at this point in the history
  • Loading branch information
androidmini9x committed May 5, 2022
1 parent 6e0f5fe commit 307ebd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Footer/Footer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import SubscriptionForm from './SubscriptionForm';

describe('<Footer />', () => {
test('Subscription field', () => {
render(<Footer />);
render(
<BrowserRouter>
<Footer />
</BrowserRouter>,
);

const subElement = screen.getByTestId('subscription');
expect(subElement).toBeInTheDocument();
Expand Down

0 comments on commit 307ebd4

Please sign in to comment.