remnantchat/src/App.test.js

10 lines
241 B
JavaScript
Raw Normal View History

2022-08-08 20:04:04 -05:00
import { render, screen } from '@testing-library/react'
import App from './App'
test('renders learn react link', () => {
2022-08-08 20:04:04 -05:00
render(<App />)
const linkElement = screen.getByText(/learn react/i)
expect(linkElement).toBeInTheDocument()
})