1
0
Fork 0
mirror of https://github.com/voltbonn/profile-picture-generator.git synced 2024-12-23 00:05:09 +00:00
profile.volt.link/src/App.test.js

9 lines
240 B
JavaScript
Raw Normal View History

2021-01-21 21:14:53 +00:00
import { render, screen } from '@testing-library/react'
import App from './App'
2021-01-21 14:18:25 +00:00
test('renders learn react link', () => {
2021-01-21 21:14:53 +00:00
render(<App />)
const linkElement = screen.getByText(/learn react/i)
expect(linkElement).toBeInTheDocument()
})