mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-02-14 21:10:41 +01:00
12 lines
367 B
JavaScript
12 lines
367 B
JavaScript
import React from 'react'
|
|
import { render } from 'react-testing-library'
|
|
import Repositories from './Repositories'
|
|
import repos from '../../../jest/__fixtures__/repos.json'
|
|
|
|
describe('Repositories', () => {
|
|
it('renders correctly', () => {
|
|
const { container } = render(<Repositories repos={repos} />)
|
|
expect(container.firstChild).toBeInTheDocument()
|
|
})
|
|
})
|