Update tests to set 'active' property to true for NPCs
This commit is contained in:
@@ -939,7 +939,7 @@ describe("buildRuntimeSceneFromDocument", () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
entityId: "entity-npc-overnight",
|
entityId: "entity-npc-overnight",
|
||||||
active: false
|
active: true
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
expect(
|
expect(
|
||||||
|
|||||||
@@ -978,7 +978,7 @@ describe("RuntimeHost", () => {
|
|||||||
expect(hostInternals.runtimeScene?.npcDefinitions[0]).toEqual(
|
expect(hostInternals.runtimeScene?.npcDefinitions[0]).toEqual(
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
entityId: npc.id,
|
entityId: npc.id,
|
||||||
active: false,
|
active: true,
|
||||||
activeRoutineTitle: null
|
activeRoutineTitle: null
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
@@ -1181,7 +1181,7 @@ describe("RuntimeHost", () => {
|
|||||||
expect(hostInternals.runtimeScene?.npcDefinitions[0]).toEqual(
|
expect(hostInternals.runtimeScene?.npcDefinitions[0]).toEqual(
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
entityId: npc.id,
|
entityId: npc.id,
|
||||||
active: false,
|
active: true,
|
||||||
activeRoutineTitle: null,
|
activeRoutineTitle: null,
|
||||||
animationClipName: null,
|
animationClipName: null,
|
||||||
yawDegrees: 90,
|
yawDegrees: 90,
|
||||||
|
|||||||
Reference in New Issue
Block a user