Update ProjectSequencesPanel tests to use NPC talk effects
This commit is contained in:
@@ -45,7 +45,6 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
[sequence.id]: sequence
|
[sequence.id]: sequence
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
dialogues={{ dialogues: {} }}
|
|
||||||
targetOptions={[
|
targetOptions={[
|
||||||
{
|
{
|
||||||
key: "modelInstance:model-a",
|
key: "modelInstance:model-a",
|
||||||
@@ -73,6 +72,7 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
defaults: {}
|
defaults: {}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
npcTalkTargetOptions={[]}
|
||||||
teleportTargetOptions={[
|
teleportTargetOptions={[
|
||||||
{ entityId: "teleport-a", label: "North Gate" },
|
{ entityId: "teleport-a", label: "North Gate" },
|
||||||
{ entityId: "teleport-b", label: "South Gate" }
|
{ entityId: "teleport-b", label: "South Gate" }
|
||||||
@@ -93,7 +93,7 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
onDeleteSequence={() => {}}
|
onDeleteSequence={() => {}}
|
||||||
onSetSequenceTitle={() => {}}
|
onSetSequenceTitle={() => {}}
|
||||||
onAddControlEffect={onAddControlEffect}
|
onAddControlEffect={onAddControlEffect}
|
||||||
onAddDialogueStep={() => {}}
|
onAddNpcTalkEffect={() => {}}
|
||||||
onAddTeleportStep={onAddTeleportStep}
|
onAddTeleportStep={onAddTeleportStep}
|
||||||
onAddSceneTransitionStep={() => {}}
|
onAddSceneTransitionStep={() => {}}
|
||||||
onAddVisibilityStep={onAddVisibilityStep}
|
onAddVisibilityStep={onAddVisibilityStep}
|
||||||
@@ -107,7 +107,8 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
onSetControlStepPathId={() => {}}
|
onSetControlStepPathId={() => {}}
|
||||||
onSetControlStepPathSpeed={() => {}}
|
onSetControlStepPathSpeed={() => {}}
|
||||||
onSetControlStepPathLoop={() => {}}
|
onSetControlStepPathLoop={() => {}}
|
||||||
onSetDialogueStepDialogueId={() => {}}
|
onSetNpcTalkStepNpcEntityId={() => {}}
|
||||||
|
onSetNpcTalkStepDialogueId={() => {}}
|
||||||
onSetTeleportStepTarget={onSetTeleportStepTarget}
|
onSetTeleportStepTarget={onSetTeleportStepTarget}
|
||||||
onSetSceneTransitionStepTarget={() => {}}
|
onSetSceneTransitionStepTarget={() => {}}
|
||||||
onSetVisibilityStepTarget={onSetVisibilityStepTarget}
|
onSetVisibilityStepTarget={onSetVisibilityStepTarget}
|
||||||
@@ -205,7 +206,6 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
dialogues={{ dialogues: {} }}
|
|
||||||
targetOptions={[
|
targetOptions={[
|
||||||
{
|
{
|
||||||
key: "actor:actor-guard",
|
key: "actor:actor-guard",
|
||||||
@@ -226,6 +226,7 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
npcTalkTargetOptions={[]}
|
||||||
teleportTargetOptions={[]}
|
teleportTargetOptions={[]}
|
||||||
sceneTransitionTargetOptions={[]}
|
sceneTransitionTargetOptions={[]}
|
||||||
visibilityTargetOptions={[]}
|
visibilityTargetOptions={[]}
|
||||||
@@ -235,7 +236,7 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
onDeleteSequence={() => {}}
|
onDeleteSequence={() => {}}
|
||||||
onSetSequenceTitle={() => {}}
|
onSetSequenceTitle={() => {}}
|
||||||
onAddControlEffect={() => {}}
|
onAddControlEffect={() => {}}
|
||||||
onAddDialogueStep={() => {}}
|
onAddNpcTalkEffect={() => {}}
|
||||||
onAddTeleportStep={() => {}}
|
onAddTeleportStep={() => {}}
|
||||||
onAddSceneTransitionStep={() => {}}
|
onAddSceneTransitionStep={() => {}}
|
||||||
onAddVisibilityStep={() => {}}
|
onAddVisibilityStep={() => {}}
|
||||||
@@ -249,7 +250,8 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
onSetControlStepPathId={onSetControlStepPathId}
|
onSetControlStepPathId={onSetControlStepPathId}
|
||||||
onSetControlStepPathSpeed={onSetControlStepPathSpeed}
|
onSetControlStepPathSpeed={onSetControlStepPathSpeed}
|
||||||
onSetControlStepPathLoop={onSetControlStepPathLoop}
|
onSetControlStepPathLoop={onSetControlStepPathLoop}
|
||||||
onSetDialogueStepDialogueId={() => {}}
|
onSetNpcTalkStepNpcEntityId={() => {}}
|
||||||
|
onSetNpcTalkStepDialogueId={() => {}}
|
||||||
onSetTeleportStepTarget={() => {}}
|
onSetTeleportStepTarget={() => {}}
|
||||||
onSetSceneTransitionStepTarget={() => {}}
|
onSetSceneTransitionStepTarget={() => {}}
|
||||||
onSetVisibilityStepTarget={() => {}}
|
onSetVisibilityStepTarget={() => {}}
|
||||||
@@ -320,7 +322,6 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
dialogues={{ dialogues: {} }}
|
|
||||||
targetOptions={[
|
targetOptions={[
|
||||||
{
|
{
|
||||||
key: getControlTargetRefKey(sceneTarget),
|
key: getControlTargetRefKey(sceneTarget),
|
||||||
@@ -333,6 +334,7 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
npcTalkTargetOptions={[]}
|
||||||
teleportTargetOptions={[]}
|
teleportTargetOptions={[]}
|
||||||
sceneTransitionTargetOptions={[]}
|
sceneTransitionTargetOptions={[]}
|
||||||
visibilityTargetOptions={[]}
|
visibilityTargetOptions={[]}
|
||||||
@@ -342,7 +344,7 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
onDeleteSequence={() => {}}
|
onDeleteSequence={() => {}}
|
||||||
onSetSequenceTitle={() => {}}
|
onSetSequenceTitle={() => {}}
|
||||||
onAddControlEffect={() => {}}
|
onAddControlEffect={() => {}}
|
||||||
onAddDialogueStep={() => {}}
|
onAddNpcTalkEffect={() => {}}
|
||||||
onAddTeleportStep={() => {}}
|
onAddTeleportStep={() => {}}
|
||||||
onAddSceneTransitionStep={() => {}}
|
onAddSceneTransitionStep={() => {}}
|
||||||
onAddVisibilityStep={() => {}}
|
onAddVisibilityStep={() => {}}
|
||||||
@@ -356,7 +358,8 @@ describe("ProjectSequencesPanel", () => {
|
|||||||
onSetControlStepPathId={() => {}}
|
onSetControlStepPathId={() => {}}
|
||||||
onSetControlStepPathSpeed={() => {}}
|
onSetControlStepPathSpeed={() => {}}
|
||||||
onSetControlStepPathLoop={() => {}}
|
onSetControlStepPathLoop={() => {}}
|
||||||
onSetDialogueStepDialogueId={() => {}}
|
onSetNpcTalkStepNpcEntityId={() => {}}
|
||||||
|
onSetNpcTalkStepDialogueId={() => {}}
|
||||||
onSetTeleportStepTarget={() => {}}
|
onSetTeleportStepTarget={() => {}}
|
||||||
onSetSceneTransitionStepTarget={() => {}}
|
onSetSceneTransitionStepTarget={() => {}}
|
||||||
onSetVisibilityStepTarget={() => {}}
|
onSetVisibilityStepTarget={() => {}}
|
||||||
|
|||||||
Reference in New Issue
Block a user