Update test input for handleRuntimeTargetLookInput to use -1
This commit is contained in:
@@ -3270,13 +3270,13 @@ describe("RuntimeHost", () => {
|
|||||||
entityId: "npc-active"
|
entityId: "npc-active"
|
||||||
};
|
};
|
||||||
|
|
||||||
expect(hostInternals.handleRuntimeTargetLookInput(1)).toBe(true);
|
expect(hostInternals.handleRuntimeTargetLookInput(-1)).toBe(true);
|
||||||
|
|
||||||
expect(hostInternals.activeRuntimeTargetReference).toEqual({
|
expect(hostInternals.activeRuntimeTargetReference).toEqual({
|
||||||
kind: "npc",
|
kind: "npc",
|
||||||
entityId: "npc-right"
|
entityId: "npc-right"
|
||||||
});
|
});
|
||||||
expect(hostInternals.handleRuntimeTargetLookInput(1)).toBe(true);
|
expect(hostInternals.handleRuntimeTargetLookInput(-1)).toBe(true);
|
||||||
expect(hostInternals.activeRuntimeTargetReference).toEqual({
|
expect(hostInternals.activeRuntimeTargetReference).toEqual({
|
||||||
kind: "npc",
|
kind: "npc",
|
||||||
entityId: "npc-right"
|
entityId: "npc-right"
|
||||||
|
|||||||
Reference in New Issue
Block a user