Skip to content

Commit 0f8e5c0

Browse files
committed
Fix TS errors
1 parent 9afde85 commit 0f8e5c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • x-pack/platform/plugins/shared/alerting_v2/server/lib/events/event_bus

x-pack/platform/plugins/shared/alerting_v2/server/lib/events/event_bus/event_bus.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ describe('AlertingDomainEventBus', () => {
148148
async (reservedType) => {
149149
const handler = jest.fn();
150150
bus.subscribe(reservedType, handler);
151+
// @ts-expect-error: we're testing the reserved type
151152
bus.publish({ type: reservedType });
152153

153154
await flushAsync();

0 commit comments

Comments
 (0)