Skip to main content

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)

**Returns:**

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