mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-02-14 21:10:41 +01:00
12 lines
373 B
TypeScript
12 lines
373 B
TypeScript
import type { Repo } from '@/types/repo'
|
|
import { render } from '@testing-library/react'
|
|
import repos from '@tests/__fixtures__/repos.json'
|
|
import Repositories from '.'
|
|
|
|
describe('Repositories', () => {
|
|
it('renders correctly', () => {
|
|
const { container } = render(<Repositories repos={repos as Repo[]} />)
|
|
expect(container.firstChild).toBeInTheDocument()
|
|
})
|
|
})
|