MockErrorApi.waitForError()
Home > @backstage/test-utils
> MockErrorApi
> waitForError
Signature:
waitForError(pattern: RegExp, timeoutMs?: number): Promise<ErrorWithContext>;
Parameters
Parameter |
Type |
Description |
---|---|---|
pattern |
RegExp | |
timeoutMs |
number |
(Optional) |
Promise<ErrorWithContext>