Backstage
    Preparing search index...
    • Renders the provided extensions inside a Backstage app, returning the same utilities as @testing-library/react render function.

      Navigation is owned by a @backstage/frontend-plugin-api#AppHistoryApi with in-memory history, the same seam as production. Access it through apis.get(coreApis.appHistory) on the render result.

      The extensions are routed by the app itself, so each page declares its adapter as it does in production. The app's root React Router v6 projection is also present. renderInTestApp supplies the page around a bare element.

      Type Parameters

      • const TApiPairs extends any[] = any[]

      Parameters

      Returns TestAppRenderResult