8 lines
214 B
JavaScript
8 lines
214 B
JavaScript
|
import {render, screen} from '@testing-library/react'
|
||
|
|
||
|
test('renders learn react link', () => {
|
||
|
render(<App />)
|
||
|
const linkElement = screen.getByText(/learn react/i)
|
||
|
expect(linkElement).toBeInTheDocument()
|
||
|
})
|