14 lines
359 B
TypeScript
14 lines
359 B
TypeScript
import React from 'react';
|
|
import { render, screen } from '@testing-library/react';
|
|
import '@testing-library/jest-dom/extend-expect';
|
|
import Footer from './Footer';
|
|
|
|
describe('<Footer />', () => {
|
|
test('it should mount', () => {
|
|
render(<Footer />);
|
|
|
|
const footer = screen.getByTestId('Footer');
|
|
|
|
expect(footer).toBeInTheDocument();
|
|
});
|
|
}); |