Skip to main content

mockServices.httpRouter.mock()

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

Signature:

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

Parameters

Parameter

Type

Description

partialImpl

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

(Optional)

**Returns:**

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