Skip to main content

mockServices.database.mock()

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

Signature:

mock: (partialImpl?: Partial<import("@backstage/backend-plugin-api").DatabaseService> | undefined) => ServiceMock<import("@backstage/backend-plugin-api").DatabaseService>

Parameters

Parameter

Type

Description

partialImpl

Partial<import("@backstage/backend-plugin-api").DatabaseService> | undefined

(Optional)

**Returns:**

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