@@ -2837,30 +2837,28 @@ describe("handleFeishuMessage command authorization", () => {
28372837 expectResolvedRouteCall ( 1 , { kind : "group" , id : "oc-group:topic:omt_native_topic" } ) ;
28382838 } ) ;
28392839
2840- it . each (
2841- [
2842- {
2843- action : "created" ,
2844- scope : "group_topic" ,
2845- expectedPeerId : "oc-group:topic:omt_native_reaction" ,
2846- } ,
2847- {
2848- action : "deleted" ,
2849- scope : "group_topic" ,
2850- expectedPeerId : "oc-group:topic:omt_native_reaction" ,
2851- } ,
2852- {
2853- action : "created" ,
2854- scope : "group_topic_sender" ,
2855- expectedPeerId : "oc-group:topic:omt_native_reaction:sender:ou-reaction-actor" ,
2856- } ,
2857- {
2858- action : "deleted" ,
2859- scope : "group_topic_sender" ,
2860- expectedPeerId : "oc-group:topic:omt_native_reaction:sender:ou-reaction-actor" ,
2861- } ,
2862- ] as const ,
2863- ) (
2840+ it . each ( [
2841+ {
2842+ action : "created" ,
2843+ scope : "group_topic" ,
2844+ expectedPeerId : "oc-group:topic:omt_native_reaction" ,
2845+ } ,
2846+ {
2847+ action : "deleted" ,
2848+ scope : "group_topic" ,
2849+ expectedPeerId : "oc-group:topic:omt_native_reaction" ,
2850+ } ,
2851+ {
2852+ action : "created" ,
2853+ scope : "group_topic_sender" ,
2854+ expectedPeerId : "oc-group:topic:omt_native_reaction:sender:ou-reaction-actor" ,
2855+ } ,
2856+ {
2857+ action : "deleted" ,
2858+ scope : "group_topic_sender" ,
2859+ expectedPeerId : "oc-group:topic:omt_native_reaction:sender:ou-reaction-actor" ,
2860+ } ,
2861+ ] as const ) (
28642862 "hydrates topic threads from the real message ID for synthetic $action reactions in $scope sessions" ,
28652863 async ( { action, scope, expectedPeerId } ) => {
28662864 mockShouldComputeCommandAuthorized . mockReturnValue ( false ) ;
0 commit comments