fix: log detail panel not showing any message when total count greate… (#10119)
This commit is contained in:
parent
0154a26e0b
commit
73f29484e7
4 changed files with 288 additions and 2 deletions
|
|
@ -255,4 +255,10 @@ describe('build chat item tree and get thread messages', () => {
|
|||
const threadMessages6_2 = getThreadMessages(tree6, 'ff4c2b43-48a5-47ad-9dc5-08b34ddba61b')
|
||||
expect(threadMessages6_2).toMatchSnapshot()
|
||||
})
|
||||
|
||||
const partialMessages = (realWorldMessages as ChatItemInTree[]).slice(-10)
|
||||
const tree7 = buildChatItemTree(partialMessages)
|
||||
it('should work with partial messages', () => {
|
||||
expect(tree7).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue