remnantchat/src/App.test.tsx

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