UNPKG
hiuphub-gamified
Version:
latest (2.1.5)
3.0.1
2.1.5
2.0.1
1.4.0
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.0
1.0.45
1.0.44
1.0.43
1.0.42
1.0.14
1.0.13
1.0.5
app of gamified
hiuphub-gamified
/
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
(); });