remnantchat/src/Bootstrap.test.tsx

11 lines
285 B
TypeScript
Raw Normal View History

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'
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()
})