(m: Partial<Incoming>)
| 16 | stop: async () => {}, |
| 17 | send: async (chatId, text, buttons) => { sent.push({ chatId, text, buttons }); return { id: `m${++n}` } as MessageRef; }, |
| 18 | edit: async () => {}, |
| 19 | ackCallback: async () => {}, |
| 20 | }; |
| 21 | const inject = (m: Partial<Incoming>) => onMsg({ platform, chatId: 'c1', userId: 'u1', text: '', ...m } as Incoming); |
no test coverage detected