Socialify

Folder ..

Viewing repo.test.tsx
10 lines (7 loc) • 227.0 B

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

import Repo from './repo'

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

  expect(repo).toMatchSnapshot()
})