Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81065060
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
Wed, Sep 4, 01:16
Size
246 B
Mime Type
text/x-java
Expires
Fri, Sep 6, 01:16 (2 d)
Engine
blob
Format
Raw Data
Handle
20506057
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