FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codespaces-react/src/App.test.js at main · Jayanesh-07/codespaces-react · GitHub
Jayanesh-07
/
codespaces-react
Public template
forked from
github/codespaces-react
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codespaces-react
/
src
/
App.test.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (7 loc) · 246 Bytes
Breadcrumbs
codespaces-react
/
src
/
App.test.js
Copy path
File metadata and controls
8 lines (7 loc) · 246 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
import
{
render
,
screen
}
from
'@testing-library/react'
;
import
App
from
'./App'
;
test
(
'renders learn react link'
,
(
)
=>
{
render
(
<
App
/>
)
;
const
linkElement
=
screen
.
getByText
(
/
l
e
a
r
n
r
e
a
c
t
/
i
)
;
expect
(
linkElement
)
.
toBeInTheDocument
(
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL