style: fix prettier formatting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -328,7 +328,12 @@ describe('routeAgentMessage return-path', () => {
|
||||
// B replies to A, but in_reply_to references the C-originated row.
|
||||
// Guard rejects (SC belongs to C, not A) → falls through to newest of A.
|
||||
await routeAgentMessage(
|
||||
{ id: 'msg-reply-tamper', platform_id: A, content: JSON.stringify({ text: 'misdirected' }), in_reply_to: cInboundId },
|
||||
{
|
||||
id: 'msg-reply-tamper',
|
||||
platform_id: A,
|
||||
content: JSON.stringify({ text: 'misdirected' }),
|
||||
in_reply_to: cInboundId,
|
||||
},
|
||||
SB,
|
||||
);
|
||||
|
||||
@@ -353,7 +358,12 @@ describe('routeAgentMessage return-path', () => {
|
||||
// B replies to A with in_reply_to pointing to the channel message.
|
||||
// source_session_id is null → peer-affinity finds nothing → newest of A.
|
||||
await routeAgentMessage(
|
||||
{ id: 'msg-reply-channel', platform_id: A, content: JSON.stringify({ text: 'response' }), in_reply_to: 'channel-msg-1' },
|
||||
{
|
||||
id: 'msg-reply-channel',
|
||||
platform_id: A,
|
||||
content: JSON.stringify({ text: 'response' }),
|
||||
in_reply_to: 'channel-msg-1',
|
||||
},
|
||||
SB,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user