Hydrate body ranges for story replies

This commit is contained in:
Fedor Indutny
2022-11-09 20:59:36 -08:00
committed by GitHub
parent 9f85db3fd8
commit be6e988a95
39 changed files with 221 additions and 172 deletions

View File

@@ -12,6 +12,7 @@ describe('getTextWithMentions', () => {
length: 1,
mentionUuid: 'abcdef',
replacementText: 'fred',
conversationID: 'x',
start: 4,
},
];
@@ -28,12 +29,14 @@ describe('getTextWithMentions', () => {
length: 1,
mentionUuid: 'blarg',
replacementText: 'jerry',
conversationID: 'x',
start: 0,
},
{
length: 1,
mentionUuid: 'abcdef',
replacementText: 'fred',
conversationID: 'x',
start: 7,
},
];