(id: string, sessionID: string, messageID: string)
| 14 | }) |
| 15 | |
| 16 | const textPart = (id: string, sessionID: string, messageID: string): Text => ({ |
| 17 | id, |
| 18 | sessionID, |
| 19 | messageID, |
| 20 | type: "text", |
| 21 | text: id, |
| 22 | }) |
| 23 | |
| 24 | describe("sync optimistic reducers", () => { |
| 25 | test("applyOptimisticAdd inserts message in sorted order and stores parts", () => { |
no outgoing calls
no test coverage detected