Gitiles
Code Review
Sign In
review.jami.net
/
jami-web
/
d47ef9e56d49429187c6db77b44994a844ed3485
/
.
/
client
/
src
/
App.test.js
blob: 9a9be2e13d7860a0bd6413e4af7f2e3df931888e [
file
] [
log
] [
blame
]
import
{
render
}
from
'@testing-library/react'
;
import
App
from
'./App'
;
test
(
'renders learn react link'
,
()
=>
{
const
{
getByText
}
=
render
(<
App
/>);
const
linkElement
=
getByText
(
/learn react/
i
);
expect
(
linkElement
).
toBeInTheDocument
();
});