auto-git:

[change] tests/domain/project-schedule-control-options.test.ts
This commit is contained in:
2026-04-23 08:09:25 +02:00
parent 21b3fc211a
commit 7469f2813e

View File

@@ -11,6 +11,7 @@ import {
import {
createProjectScheduleEffectFromOption,
getProjectScheduleEffectOptionId,
listProjectInteractionControlEffectOptions,
listProjectScheduleEffectOptions,
type ProjectScheduleTargetOption
} from "../../src/scheduler/project-schedule-control-options";
@@ -60,6 +61,20 @@ describe("project schedule control options", () => {
);
});
it("filters out scheduler-only actor control effects for interaction authoring", () => {
expect(listProjectInteractionControlEffectOptions(actorTargetOption)).toEqual(
[]
);
expect(
listProjectInteractionControlEffectOptions(cameraRigTargetOption)
).toEqual(
expect.arrayContaining([
expect.objectContaining({ id: "camera.activate" }),
expect.objectContaining({ id: "camera.clear" })
])
);
});
it("roundtrips actor animation and follow-path through option ids", () => {
const animationEffect = createPlayActorAnimationControlEffect({
target: createActorControlTargetRef("guard"),