@@ -35,9 +35,9 @@ describe("message action media helpers", () => {
3535 resolveExtraActionMediaSourceParamKeys ( {
3636 cfg,
3737 action : "send" ,
38- channel : "slack " ,
38+ channel : "workspace " ,
3939 args : {
40- channel : "slack " ,
40+ channel : "workspace " ,
4141 target : "#C12345678" ,
4242 message : "hi" ,
4343 media : "https://example.com/photo.png" ,
@@ -157,7 +157,7 @@ describe("message action media helpers", () => {
157157 }
158158 } ) ;
159159
160- maybeIt ( "normalizes Discord event image sandbox media params" , async ( ) => {
160+ maybeIt ( "normalizes extension event image sandbox media params" , async ( ) => {
161161 const sandboxRoot = await fs . mkdtemp ( path . join ( os . tmpdir ( ) , "msg-params-image-" ) ) ;
162162 try {
163163 const args : Record < string , unknown > = {
@@ -180,7 +180,7 @@ describe("message action media helpers", () => {
180180 }
181181 } ) ;
182182
183- maybeIt ( "normalizes Matrix avatarPath and avatarUrl sandbox media params" , async ( ) => {
183+ maybeIt ( "normalizes extension avatarPath and avatarUrl sandbox media params" , async ( ) => {
184184 const sandboxRoot = await fs . mkdtemp ( path . join ( os . tmpdir ( ) , "msg-params-avatar-" ) ) ;
185185 try {
186186 const args : Record < string , unknown > = {
@@ -227,7 +227,7 @@ describe("message action media helpers", () => {
227227 ] ) ;
228228 } ) ;
229229
230- maybeIt ( "normalizes Matrix snake_case avatar_path and avatar_url aliases" , async ( ) => {
230+ maybeIt ( "normalizes extension snake_case avatar_path and avatar_url aliases" , async ( ) => {
231231 const sandboxRoot = await fs . mkdtemp ( path . join ( os . tmpdir ( ) , "msg-params-avatar-snake-" ) ) ;
232232 try {
233233 const args : Record < string , unknown > = {
@@ -253,7 +253,7 @@ describe("message action media helpers", () => {
253253 }
254254 } ) ;
255255
256- maybeIt ( "prefers canonical Matrix media params over invalid snake_case aliases" , async ( ) => {
256+ maybeIt ( "prefers canonical extension media params over invalid snake_case aliases" , async ( ) => {
257257 const sandboxRoot = await fs . mkdtemp ( path . join ( os . tmpdir ( ) , "msg-params-avatar-canonical-" ) ) ;
258258 try {
259259 const args : Record < string , unknown > = {
@@ -369,7 +369,7 @@ describe("message action media helpers", () => {
369369 } ;
370370 await hydrateAttachmentParamsForAction ( {
371371 cfg,
372- channel : "slack " ,
372+ channel : "workspace " ,
373373 args : mediaArgs ,
374374 action : "sendAttachment" ,
375375 dryRun : true ,
@@ -382,7 +382,7 @@ describe("message action media helpers", () => {
382382 } ;
383383 await hydrateAttachmentParamsForAction ( {
384384 cfg,
385- channel : "slack " ,
385+ channel : "workspace " ,
386386 args : fileArgs ,
387387 action : "sendAttachment" ,
388388 dryRun : true ,
@@ -398,7 +398,7 @@ describe("message action media helpers", () => {
398398
399399 await hydrateAttachmentParamsForAction ( {
400400 cfg,
401- channel : "slack " ,
401+ channel : "workspace " ,
402402 args,
403403 action : "sendAttachment" ,
404404 dryRun : true ,
@@ -441,7 +441,7 @@ describe("message action sandbox media hydration", () => {
441441 await expect (
442442 hydrateAttachmentParamsForAction ( {
443443 cfg,
444- channel : "slack " ,
444+ channel : "workspace " ,
445445 args,
446446 action : "sendAttachment" ,
447447 mediaPolicy,
0 commit comments