From 07835ae7d54a364278d2244edb651a2cddc775fa Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 10:11:38 +0200 Subject: [PATCH] Update speakerName references to use npc.actorId --- tests/unit/runtime-host.test.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/unit/runtime-host.test.ts b/tests/unit/runtime-host.test.ts index 43faa4d1..4256afff 100644 --- a/tests/unit/runtime-host.test.ts +++ b/tests/unit/runtime-host.test.ts @@ -335,12 +335,10 @@ describe("RuntimeHost", () => { lines: [ { id: "dialogue-line-warning-1", - speakerName: "Operator", text: "The generator is unstable." }, { id: "dialogue-line-warning-2", - speakerName: null, text: "A low hum fills the room." } ] @@ -390,7 +388,7 @@ describe("RuntimeHost", () => { dialogueId: "dialogue-warning", npcEntityId: npc.id, lineIndex: 0, - speakerName: "Operator", + speakerName: npc.actorId, text: "The generator is unstable.", source: { kind: "npc", @@ -403,7 +401,7 @@ describe("RuntimeHost", () => { dialogueId: "dialogue-warning", npcEntityId: npc.id, lineIndex: 1, - speakerName: null, + speakerName: npc.actorId, text: "A low hum fills the room.", source: { kind: "npc", @@ -437,7 +435,6 @@ describe("RuntimeHost", () => { lines: [ { id: "dialogue-line-a-1", - speakerName: null, text: "First dialogue." } ] @@ -454,7 +451,6 @@ describe("RuntimeHost", () => { lines: [ { id: "dialogue-line-b-1", - speakerName: "Merchant", text: "Second dialogue." } ]