UNPKG
fix-captcha
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
A customizable Captcha component for React.
fix-captcha
/
dist
/
App.test.js
9 lines
(7 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ render, screen }
from
'@testing-library/react'
;
import
App
from
'./App'
;
test
(
'renders learn react link'
,
() =>
{
render
(
<
App
/>
);
const
linkElement = screen.
getByText
(
/learn react/i
);
expect
(linkElement).
toBeInTheDocument
(); });