mockApis.identity.factory()
Home > @backstage/test-utils
> mockApis
> identity
> factory
Signature:
factory: (options?: {
userEntityRef?: string | undefined;
ownershipEntityRefs?: string[] | undefined;
token?: string | undefined;
email?: string | undefined;
displayName?: string | undefined;
picture?: string | undefined;
} | undefined) => ApiFactory<IdentityApi, IdentityApi, {}>
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ userEntityRef?: string | undefined; ownershipEntityRefs?: string[] | undefined; token?: string | undefined; email?: string | undefined; displayName?: string | undefined; picture?: string | undefined; } | undefined |
(Optional) |
ApiFactory<IdentityApi, IdentityApi, {}>