Renders a component inside a Backstage test app, providing a mocked theme and app context, along with mocked APIs.
The render executes async effects similar to renderWithEffects. To avoid this behavior, use a regular render() + wrapInTestApp() instead.
renderWithEffects
render()
wrapInTestApp()
A component or react node to render inside the test app.
Additional options for the rendering.
Renders a component inside a Backstage test app, providing a mocked theme and app context, along with mocked APIs.
The render executes async effects similar to
renderWithEffects. To avoid this behavior, use a regularrender()+wrapInTestApp()instead.