TestEventSubscriber
Home > @backstage/plugin-events-backend-test-utils
> TestEventSubscriber
Warning: This API is now obsolete.
EventSubscriber
was replaced byEventsService.subscribe
.
Signature:
class TestEventSubscriber implements EventSubscriber
Implements: EventSubscriber
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(name, topics) | Constructs a new instance of the TestEventSubscriber class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
name | readonly | string | |
receivedEvents | readonly | Record<string, EventParams[]> | |
topics | readonly | string[] |
Methods
Method | Modifiers | Description |
---|---|---|
onEvent(params) | ||
supportsEventTopics() |