Backstage
    Preparing search index...

    Module @backstage/frontend-test-utils

    Contains utilities that can be used when testing frontend features such as extensions.

    @backstage/frontend-test-utils

    The new frontend system that this package is part of is in alpha, and we do not yet recommend using it for production deployments

    Contains utilities that can be used when testing frontend features such as extensions.

    Install the package via Yarn into your own packages:

    cd <package-dir> # if within a monorepo
    yarn add --dev @backstage/frontend-test-utils

    Namespaces

    mockApis

    Interfaces

    ExtensionQuery
    ExtensionSnapshotNode
    ExtensionTester
    MockAlertApi
    MockAnalyticsApi
    MockConfigApi
    MockErrorApi
    MockFeatureFlagsApi
    MockFeatureFlagsApiOptions
    MockFetchApi
    MockFetchApiOptions
    MockPermissionApi
    MockStorageApi
    MockTranslationApi

    Type Aliases

    ApiMock
    ErrorWithContext
    MockApiFactorySymbol
    MockErrorApiOptions
    MockWithApiFactory
    RenderTestAppOptions
    TestApiPair
    TestApiPairs
    TestApiProviderProps
    TestAppOptions

    Functions

    attachMockApiFactory
    createApiMock
    createExtensionTester
    registerMswTestHooks
    renderInTestApp
    renderTestApp
    TestApiProvider
    withLogCollector