From 49ae1a55deccbb84c819cb4ec48ebc63db5e60a4 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 21 Jan 2025 18:10:20 +0000 Subject: [PATCH] test: fix broker test --- packages/brokers/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/brokers/__tests__/index.test.ts b/packages/brokers/__tests__/index.test.ts index f7af86d9d06f..f30dd5e06a4b 100644 --- a/packages/brokers/__tests__/index.test.ts +++ b/packages/brokers/__tests__/index.test.ts @@ -17,7 +17,7 @@ const mockRedisClient = { test('pubsub with custom encoding', async () => { const encode = vi.fn((data) => data); - const broker = new PubSubRedisBroker(mockRedisClient, { encode }); + const broker = new PubSubRedisBroker(mockRedisClient, { encode, group: 'group' }); await broker.publish('test', 'test'); expect(encode).toHaveBeenCalledWith('test'); });