()
| 21 | |
| 22 | const allowAll = { telegram: { allowedUsers: ['u1'] }, discord: { allowedUsers: ['u1'] } }; |
| 23 | const flush = () => new Promise(r => setTimeout(r, 0)); |
| 24 | |
| 25 | describe('BotGateway', () => { |
| 26 | it('denies unlisted users (closed by default) and never runs the agent', async () => { |