Commit 279ddd8
committed
fix(feishu): narrow channel sub-types to match mock in tests
The channel parameter type previously kept the full text and reply sub-types,
which the test mockChannel didn't satisfy. Narrow to exact methods used:
- text: resolveTextChunkLimit, resolveChunkMode, resolveMarkdownTableMode,
convertMarkdownTables, chunkTextWithMode, chunkMarkdownTextWithMode
- reply: createReplyDispatcherWithTyping, resolveHumanDelayConfig1 parent 588c690 commit 279ddd8
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
121 | 135 | | |
122 | 136 | | |
123 | 137 | | |
| |||
0 commit comments