mockServices.lifecycle.mock()
Home > @backstage/backend-test-utils
> mockServices
> lifecycle
> mock
Signature:
mock: (partialImpl?: Partial<import("@backstage/backend-plugin-api").LifecycleService> | undefined) => ServiceMock<import("@backstage/backend-plugin-api").LifecycleService>
Parameters
Parameter |
Type |
Description |
---|---|---|
partialImpl |
Partial<import("@backstage/backend-plugin-api").LifecycleService> | undefined |
(Optional) |
ServiceMock<import("@backstage/backend-plugin-api").LifecycleService>