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