From c4c6063c6ecd0021210447c99d8242ea8b9a4891 Mon Sep 17 00:00:00 2001 From: MrSphay Date: Sat, 11 Jul 2026 18:33:07 +0200 Subject: [PATCH] test: expect conversational dave presence --- test/dave-presence.test.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/dave-presence.test.mjs b/test/dave-presence.test.mjs index bf1e772..e2204cc 100644 --- a/test/dave-presence.test.mjs +++ b/test/dave-presence.test.mjs @@ -49,7 +49,8 @@ test('dynamic presence sends a grounded message and persists a variable next eva const now = new Date('2026-07-06T12:00:00Z'); const outcome = await presence.tick(now); assert.deepEqual(outcome, { sent: true, reason: 'sent' }); - assert.match(messages[0], /^\[DAVE \/\/ AKTIV\]/); + assert.match(messages[0], /^Die Lage ist ruhig/); + assert.doesNotMatch(messages[0], /\[DAVE \/\/ AKTIV\]/); assert.match(messages[0], /Belege:/); assert.match(calls[0].prompt, /dynamic presence evaluation, not a fixed scheduled briefing/i); assert.equal(calls[0].options.mode, 'presence');