TestApiRegistry.get()
Home > @backstage/test-utils
> TestApiRegistry
> get
Returns an implementation of the API.
Signature:
get<T>(api: ApiRef<T>): T | undefined;
Parameters
Parameter |
Type |
Description |
---|---|---|
api |
ApiRef<T> |
T | undefined