From 806271fc80c25e241f36bdb8cce583cc09c099be Mon Sep 17 00:00:00 2001 From: Kai Dubauskas Date: Fri, 6 Feb 2026 17:47:28 -0500 Subject: [PATCH] fix: failing ci test Signed-off-by: Kai Dubauskas --- .../src/lib/SlackNotificationProcessor.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/notifications-backend-module-slack/src/lib/SlackNotificationProcessor.test.ts b/plugins/notifications-backend-module-slack/src/lib/SlackNotificationProcessor.test.ts index f9bd3f5ab3..d9aef27e46 100644 --- a/plugins/notifications-backend-module-slack/src/lib/SlackNotificationProcessor.test.ts +++ b/plugins/notifications-backend-module-slack/src/lib/SlackNotificationProcessor.test.ts @@ -17,7 +17,7 @@ import { mockServices } from '@backstage/backend-test-utils'; import { SlackNotificationProcessor } from './SlackNotificationProcessor'; import { catalogServiceMock } from '@backstage/plugin-catalog-node/testUtils'; -import { WebClient } from '@slack/web-api'; +import { KnownBlock, WebClient } from '@slack/web-api'; import { Entity } from '@backstage/catalog-model'; import pThrottle from 'p-throttle'; import { durationToMilliseconds } from '@backstage/types'; @@ -211,7 +211,7 @@ describe('SlackNotificationProcessor', () => { it('should use a custom block kit renderer when provided', async () => { const slack = new WebClient(); - const customBlocks = [ + const customBlocks: KnownBlock[] = [ { type: 'section', text: { type: 'mrkdwn', text: 'Custom block' },