Skip to main content
Version: Next

mockServices.events.mock()

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

Signature:

mock: (partialImpl?: Partial<import("@backstage/plugin-events-node").EventsService> | undefined) => ServiceMock<import("@backstage/plugin-events-node").EventsService>

Parameters

Parameter

Type

Description

partialImpl

Partial<import("@backstage/plugin-events-node").EventsService> | undefined

(Optional)

**Returns:**

ServiceMock<import("@backstage/plugin-events-node").EventsService>