MockPermissionApi
Home > @backstage/test-utils
> MockPermissionApi
Warning: This API is now obsolete.
Use mockApis.permission instead
Mock implementation of PermissionApi. Supply a requestHandler function to override the mock result returned for a given request.
Signature:
class MockPermissionApi implements PermissionApi
Implements: PermissionApi
Constructors
Constructor |
Modifiers |
Description |
---|---|---|
Constructs a new instance of the |
Methods
Method |
Modifiers |
Description |
---|---|---|