@@ -171,7 +171,17 @@ describe("createFeishuMessageReceiveHandler topic queueing", () => {
171171 } ,
172172 } as unknown as PluginRuntime [ "channel" ] ;
173173 const handler = createFeishuMessageReceiveHandler ( {
174- cfg : { } as ClawdbotConfig ,
174+ cfg : {
175+ channels : {
176+ feishu : {
177+ groups : {
178+ oc_topic_group : {
179+ groupSessionScope : "group_topic" ,
180+ } ,
181+ } ,
182+ } ,
183+ } ,
184+ } as ClawdbotConfig ,
175185 channelRuntime,
176186 accountId : "default" ,
177187 chatHistories : new Map ( ) ,
@@ -253,7 +263,17 @@ describe("createFeishuMessageReceiveHandler topic queueing", () => {
253263 } ,
254264 } as unknown as PluginRuntime [ "channel" ] ;
255265 const handler = createFeishuMessageReceiveHandler ( {
256- cfg : { } as ClawdbotConfig ,
266+ cfg : {
267+ channels : {
268+ feishu : {
269+ groups : {
270+ oc_topic_group : {
271+ groupSessionScope : "group_topic" ,
272+ } ,
273+ } ,
274+ } ,
275+ } ,
276+ } as ClawdbotConfig ,
257277 channelRuntime,
258278 accountId : "default" ,
259279 chatHistories : new Map ( ) ,
@@ -336,7 +356,17 @@ describe("createFeishuMessageReceiveHandler topic queueing", () => {
336356 } ,
337357 } as unknown as PluginRuntime [ "channel" ] ;
338358 const handler = createFeishuMessageReceiveHandler ( {
339- cfg : { } as ClawdbotConfig ,
359+ cfg : {
360+ channels : {
361+ feishu : {
362+ groups : {
363+ oc_topic_group : {
364+ groupSessionScope : "group_topic" ,
365+ } ,
366+ } ,
367+ } ,
368+ } ,
369+ } as ClawdbotConfig ,
340370 channelRuntime,
341371 accountId : "default" ,
342372 chatHistories : new Map ( ) ,
@@ -415,7 +445,17 @@ describe("createFeishuMessageReceiveHandler topic queueing", () => {
415445 } ,
416446 } as unknown as PluginRuntime [ "channel" ] ;
417447 const handler = createFeishuMessageReceiveHandler ( {
418- cfg : { } as ClawdbotConfig ,
448+ cfg : {
449+ channels : {
450+ feishu : {
451+ groups : {
452+ oc_topic_group : {
453+ groupSessionScope : "group_topic" ,
454+ } ,
455+ } ,
456+ } ,
457+ } ,
458+ } as ClawdbotConfig ,
419459 channelRuntime,
420460 accountId : "default" ,
421461 chatHistories : new Map ( ) ,
0 commit comments