Skip to main content

mockServices.rootHttpRouter.mock()

Home > @backstage/backend-test-utils > mockServices > rootHttpRouter > mock

Signature:

mock: (partialImpl?: Partial<import("@backstage/backend-plugin-api").RootHttpRouterService> | undefined) => ServiceMock<import("@backstage/backend-plugin-api").RootHttpRouterService>

Parameters

Parameter

Type

Description

partialImpl

Partial<import("@backstage/backend-plugin-api").RootHttpRouterService> | undefined

(Optional)

**Returns:**

ServiceMock<import("@backstage/backend-plugin-api").RootHttpRouterService>