Skip to main content
Version: Next

createExtensionTester()

Home > @backstage/frontend-test-utils > createExtensionTester

Signature:

function createExtensionTester<T extends ExtensionDefinitionParameters>(subject: ExtensionDefinition<T>, options?: {
config?: T['configInput'];
}): ExtensionTester<NonNullable<T['output']>>;

Parameters

Parameter

Type

Description

subject

ExtensionDefinition<T>

options

{ config?: T['configInput']; }

(Optional)

**Returns:**

ExtensionTester<NonNullable<T['output']>>