Skip to main content
Version: Next

MockEntityListContextProvider()

Home > @backstage/plugin-catalog-react > MockEntityListContextProvider

Warning: This API is now obsolete.

Moved to @backstage/plugin-catalog-react/testUtils

Signature:

function MockEntityListContextProvider<T extends DefaultEntityFilters = DefaultEntityFilters>(props: PropsWithChildren<{
value?: Partial<EntityListContextProps<T>>;
}>): React.JSX.Element;

Parameters

Parameter

Type

Description

props

PropsWithChildren<{ value?: Partial<EntityListContextProps<T>>; }>

**Returns:**

React.JSX.Element