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