Socialify

Folder ..

Viewing footer.test.tsx
10 lines (7 loc) • 239.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import { render } from '@testing-library/react'

import Footer from './footer'

test('Footer renders', () => {
  const { container } = render(<Footer />)
  const footer = container.firstElementChild!

  expect(footer).toMatchSnapshot()
})