From 7862a5fd150866eafcd18cfe96da57e0d6dd02a5 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 06:06:42 +0200 Subject: [PATCH] Update project sequencer pane test to use ProjectScheduleTargetOption type --- tests/unit/project-sequencer-pane.test.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/unit/project-sequencer-pane.test.tsx b/tests/unit/project-sequencer-pane.test.tsx index 49bd45ff..24a231d8 100644 --- a/tests/unit/project-sequencer-pane.test.tsx +++ b/tests/unit/project-sequencer-pane.test.tsx @@ -12,6 +12,7 @@ import { createEmptyProjectScheduler, createProjectScheduleRoutine } from "../../src/scheduler/project-scheduler"; +import type { ProjectScheduleTargetOption } from "../../src/scheduler/project-schedule-control-options"; import { createEmptyProjectSequenceLibrary } from "../../src/sequencer/project-sequences"; describe("ProjectSequencerPane", () => { @@ -24,16 +25,7 @@ describe("ProjectSequencerPane", () => { onSetRoutineEndHour = vi.fn() }: { scheduler?: ReturnType; - targetOptions: Array<{ - key: string; - target: ReturnType< - typeof createProjectGlobalControlTargetRef | typeof createActorControlTargetRef - >; - label: string; - subtitle: string; - groupLabel: string; - defaults: Record; - }>; + targetOptions: ProjectScheduleTargetOption[]; selectedRoutineId?: string | null; onSetRoutineTarget?: ReturnType; onSetRoutineStartHour?: ReturnType;