Update tests to remove unused properties and update migration logic

This commit is contained in:
2026-04-15 01:17:01 +02:00
parent 36f81d74b0
commit 4ea24e6626
2 changed files with 18 additions and 40 deletions

View File

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