2022-08-08 21:04:37 -05:00
|
|
|
import React from 'react'
|
2022-08-08 20:04:04 -05:00
|
|
|
import { render, screen } from '@testing-library/react'
|
|
|
|
|
2022-08-09 09:35:49 -05:00
|
|
|
import Bootstrap from './Bootstrap'
|
2022-08-07 21:06:40 -05:00
|
|
|
|
|
|
|
test('renders learn react link', () => {
|
2022-08-09 09:35:49 -05:00
|
|
|
render(<Bootstrap />)
|
2022-08-08 20:04:04 -05:00
|
|
|
const linkElement = screen.getByText(/learn react/i)
|
|
|
|
expect(linkElement).toBeInTheDocument()
|
|
|
|
})
|