diff options
author | Eric Bailey <git@esb.lol> | 2024-05-06 15:35:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 15:35:05 -0500 |
commit | 0b6ace990e47fee1154b9ca03bbd8d2c41a15961 (patch) | |
tree | 6dd45626fd1c1fa30dea44437d875e8b439cf402 /src/state/messages/__tests__ | |
parent | 2a1dbd27569a115d514b8b1189bde8503e0b56bb (diff) | |
download | voidsky-0b6ace990e47fee1154b9ca03bbd8d2c41a15961.tar.zst |
[Clipclops] All my clops gone (#3850)
* Handle two common errors, provide more clarity around error states * Handle failed polling * Remove unused error type * format
Diffstat (limited to 'src/state/messages/__tests__')
-rw-r--r-- | src/state/messages/__tests__/convo.test.ts | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/state/messages/__tests__/convo.test.ts b/src/state/messages/__tests__/convo.test.ts index b0dab5325..44fe16fef 100644 --- a/src/state/messages/__tests__/convo.test.ts +++ b/src/state/messages/__tests__/convo.test.ts @@ -1,15 +1,19 @@ import {describe, it} from '@jest/globals' describe(`#/state/messages/convo`, () => { - describe(`status states`, () => { + describe(`init`, () => { + it.todo(`fails if sender and recipients aren't found`) it.todo(`cannot re-initialize from a non-unintialized state`) it.todo(`can re-initialize from a failed state`) + }) + + describe(`resume`, () => { + it.todo(`restores previous state if resume fails`) + }) - describe(`destroy`, () => { - it.todo(`cannot be interacted with when destroyed`) - it.todo(`polling is stopped when destroyed`) - it.todo(`events are cleaned up when destroyed`) - }) + describe(`suspend`, () => { + it.todo(`cannot be interacted with when suspended`) + it.todo(`polling is stopped when suspended`) }) describe(`read states`, () => { |