diff options
author | Eric Bailey <git@esb.lol> | 2024-05-01 15:24:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 15:24:56 -0500 |
commit | fc0eab2d03bfbd2ddb2a39b77b83811ae9b4da2d (patch) | |
tree | d3878ce501a65bb25e89677a0c1940a411000368 /src/state/messages/__tests__/client.test.ts | |
parent | 333ccdad39fd2013615d9f53645763fe85c3e568 (diff) | |
download | voidsky-fc0eab2d03bfbd2ddb2a39b77b83811ae9b4da2d.tar.zst |
Retry clops (#3800)
* Add convo retries, sketch out tests * Only append nextMessage to messages * Remove debug code
Diffstat (limited to 'src/state/messages/__tests__/client.test.ts')
-rw-r--r-- | src/state/messages/__tests__/client.test.ts | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/state/messages/__tests__/client.test.ts b/src/state/messages/__tests__/client.test.ts deleted file mode 100644 index cab1d9021..000000000 --- a/src/state/messages/__tests__/client.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -import {describe, it} from '@jest/globals' - -describe(`#/state/dms/client`, () => { - describe(`ChatsService`, () => { - describe(`unread count`, () => { - it.todo(`marks a chat as read, decrements total unread count`) - }) - - describe(`log processing`, () => { - /* - * We receive a new chat log AND messages for it in the same batch. We - * need to first initialize the chat, then process the received logs. - */ - describe(`handles new chats and subsequent messages received in same log batch`, () => { - it.todo(`receives new chat and messages`) - it.todo( - `receives new chat, new messages come in while still initializing new chat`, - ) - }) - }) - - describe(`reset state`, () => { - it.todo(`after period of inactivity, rehydrates entirely fresh state`) - }) - }) - - describe(`ChatService`, () => { - describe(`history fetching`, () => { - it.todo(`fetches initial chat history`) - it.todo(`fetches additional chat history`) - it.todo(`handles history fetch failure`) - }) - - describe(`optimistic updates`, () => { - it.todo(`adds sending messages`) - }) - }) -}) |