MockErrorApi
Home > @backstage/test-utils
> MockErrorApi
Mock implementation of the ErrorApi to be used in tests. Includes withForError and getErrors methods for error testing.
Signature:
class MockErrorApi implements ErrorApi
Implements: ErrorApi
Constructors
Constructor |
Modifiers |
Description |
---|---|---|
Constructs a new instance of the |
Methods
Method |
Modifiers |
Description |
---|---|---|