Add startMinute, durationMinutes, and lane to sequence steps in tests
This commit is contained in:
@@ -49,6 +49,9 @@ describe("project sequence steps", () => {
|
|||||||
|
|
||||||
expect(getInteractionLinkSequenceSteps(playSoundLink)).toEqual([
|
expect(getInteractionLinkSequenceSteps(playSoundLink)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1,
|
||||||
|
lane: 0,
|
||||||
stepClass: "impulse",
|
stepClass: "impulse",
|
||||||
type: "controlEffect",
|
type: "controlEffect",
|
||||||
effect: createPlaySoundControlEffect({
|
effect: createPlaySoundControlEffect({
|
||||||
@@ -58,6 +61,9 @@ describe("project sequence steps", () => {
|
|||||||
]);
|
]);
|
||||||
expect(getInteractionLinkSequenceSteps(dialogueLink)).toEqual([
|
expect(getInteractionLinkSequenceSteps(dialogueLink)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1,
|
||||||
|
lane: 0,
|
||||||
stepClass: "impulse",
|
stepClass: "impulse",
|
||||||
type: "startDialogue",
|
type: "startDialogue",
|
||||||
dialogueId: "dialogue-main"
|
dialogueId: "dialogue-main"
|
||||||
@@ -65,6 +71,9 @@ describe("project sequence steps", () => {
|
|||||||
]);
|
]);
|
||||||
expect(getInteractionLinkSequenceSteps(teleportLink)).toEqual([
|
expect(getInteractionLinkSequenceSteps(teleportLink)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1,
|
||||||
|
lane: 0,
|
||||||
stepClass: "impulse",
|
stepClass: "impulse",
|
||||||
type: "teleportPlayer",
|
type: "teleportPlayer",
|
||||||
targetEntityId: "entity-teleport-target"
|
targetEntityId: "entity-teleport-target"
|
||||||
@@ -72,6 +81,9 @@ describe("project sequence steps", () => {
|
|||||||
]);
|
]);
|
||||||
expect(getInteractionLinkSequenceSteps(visibilityLink)).toEqual([
|
expect(getInteractionLinkSequenceSteps(visibilityLink)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1,
|
||||||
|
lane: 0,
|
||||||
stepClass: "impulse",
|
stepClass: "impulse",
|
||||||
type: "toggleVisibility",
|
type: "toggleVisibility",
|
||||||
targetBrushId: "brush-main",
|
targetBrushId: "brush-main",
|
||||||
@@ -117,6 +129,9 @@ describe("project sequence steps", () => {
|
|||||||
|
|
||||||
expect(getProjectScheduleRoutineHeldSteps(actorRoutine)).toEqual([
|
expect(getProjectScheduleRoutineHeldSteps(actorRoutine)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1440,
|
||||||
|
lane: 0,
|
||||||
stepClass: "held",
|
stepClass: "held",
|
||||||
type: "controlEffect",
|
type: "controlEffect",
|
||||||
effect: createSetActorPresenceControlEffect({
|
effect: createSetActorPresenceControlEffect({
|
||||||
@@ -127,6 +142,9 @@ describe("project sequence steps", () => {
|
|||||||
]);
|
]);
|
||||||
expect(getInteractionLinkImpulseSteps(directControlLink)).toEqual([
|
expect(getInteractionLinkImpulseSteps(directControlLink)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1,
|
||||||
|
lane: 0,
|
||||||
stepClass: "impulse",
|
stepClass: "impulse",
|
||||||
type: "controlEffect",
|
type: "controlEffect",
|
||||||
effect: createSetLightEnabledControlEffect({
|
effect: createSetLightEnabledControlEffect({
|
||||||
@@ -137,6 +155,9 @@ describe("project sequence steps", () => {
|
|||||||
]);
|
]);
|
||||||
expect(getProjectScheduleRoutineSequenceSteps(lightRoutine)).toEqual([
|
expect(getProjectScheduleRoutineSequenceSteps(lightRoutine)).toEqual([
|
||||||
{
|
{
|
||||||
|
startMinute: 0,
|
||||||
|
durationMinutes: 1440,
|
||||||
|
lane: 0,
|
||||||
stepClass: "held",
|
stepClass: "held",
|
||||||
type: "controlEffect",
|
type: "controlEffect",
|
||||||
effect: createSetLightEnabledControlEffect({
|
effect: createSetLightEnabledControlEffect({
|
||||||
|
|||||||
Reference in New Issue
Block a user