Backstage
Docs
Github
Preparing search index...
@backstage/frontend-test-utils
renderInTestApp
Function renderInTestApp
renderInTestApp
<
const
TApiPairs
extends
any
[]
=
any
[]
>
(
element
:
Element
,
options
?:
TestAppOptions
<
TApiPairs
>
,
)
:
RenderResult
Renders the given element in a test app, for use in unit tests.
Type Parameters
const
TApiPairs
extends
any
[]
=
any
[]
Parameters
element
:
Element
Optional
options
:
TestAppOptions
<
TApiPairs
>
Returns
RenderResult
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Renders the given element in a test app, for use in unit tests.