FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codespaces-react/src/App.test.jsx at main · github/codespaces-react · GitHub
github
/
codespaces-react
Public template
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
551
Code
Issues
15
Pull requests
22
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
codespaces-react
/
src
/
App.test.jsx
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (8 loc) · 279 Bytes
Breadcrumbs
codespaces-react
/
src
/
App.test.jsx
Copy path
File metadata and controls
9 lines (8 loc) · 279 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
import
{
expect
,
test
}
from
'vitest'
;
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
)
.
toBeDefined
(
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL