(sent: { text: string }[])
| 23 | const allow = { telegram: { allowedUsers: ['u1'] } }; |
| 24 | const flush = () => new Promise(r => setTimeout(r, 0)); |
| 25 | const lastText = (sent: { text: string }[]) => sent[sent.length - 1]!.text; |
| 26 | |
| 27 | describe('bot command registry', () => { |
| 28 | it('parses /word args, case-insensitively, with /start aliasing /help', () => { |