Update test input for handleRuntimeTargetLookInput to use -1

This commit is contained in:
2026-04-25 16:06:22 +02:00
parent f2fb11b4cc
commit 72a92ed798

View File

@@ -3270,13 +3270,13 @@ describe("RuntimeHost", () => {
entityId: "npc-active"
};
expect(hostInternals.handleRuntimeTargetLookInput(1)).toBe(true);
expect(hostInternals.handleRuntimeTargetLookInput(-1)).toBe(true);
expect(hostInternals.activeRuntimeTargetReference).toEqual({
kind: "npc",
entityId: "npc-right"
});
expect(hostInternals.handleRuntimeTargetLookInput(1)).toBe(true);
expect(hostInternals.handleRuntimeTargetLookInput(-1)).toBe(true);
expect(hostInternals.activeRuntimeTargetReference).toEqual({
kind: "npc",
entityId: "npc-right"