Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78732291
App.test.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 22, 16:29
Size
246 B
Mime Type
text/x-java
Expires
Sat, Aug 24, 16:29 (2 d)
Engine
blob
Format
Raw Data
Handle
20091973
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
App.test.js
View Options
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
();
});
Event Timeline
Log In to Comment