Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Drop an unneeded listener snapshot in the watchReply test

Fei241122cf73a889c4
diff --git a/ds-bot/test/voice.test.js b/ds-bot/test/voice.test.js
index fb72a2c1..1d22e5cd 100644
--- a/ds-bot/test/voice.test.js
+++ b/ds-bot/test/voice.test.js
@@ -46,7 +46,7 @@ test('watchReply waits for the reply, speaks it once, then stops', () => {
(value) => { calls.push('consume'); consumed.push(value) })
assert.deepEqual(consumed, [])
text = 'first'
- for (const listener of [...listeners]) listener()
+ for (const listener of listeners) listener()
assert.deepEqual(consumed, ['first'])
assert.equal(listeners.size, 0)
// A later publish must not speak the same reply again.