FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codespaces-react/src/App.test.jsx at main · ken-script/codespaces-react · GitHub
ken-script
/
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.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