auto-git:

[change] tests/domain/runtime-interaction-system.test.ts
This commit is contained in:
2026-04-23 08:58:37 +02:00
parent 29da61e2a2
commit a21815c7de

View File

@@ -385,6 +385,10 @@ describe("RuntimeInteractionSystem", () => {
runtimeScene,
createDispatcher({
dispatchControlEffect: (effect, link) => {
if (effect.target.kind !== "entity") {
throw new Error("Expected a camera rig entity control target.");
}
dispatches.push(`${link.id}:${effect.type}:${effect.target.entityId}`);
}
})
@@ -399,6 +403,10 @@ describe("RuntimeInteractionSystem", () => {
runtimeScene,
createDispatcher({
dispatchControlEffect: (effect, link) => {
if (effect.target.kind !== "entity") {
throw new Error("Expected a camera rig entity control target.");
}
dispatches.push(`${link.id}:${effect.type}:${effect.target.entityId}`);
}
})
@@ -430,6 +438,10 @@ describe("RuntimeInteractionSystem", () => {
runtimeScene,
createDispatcher({
dispatchControlEffect: (effect, link) => {
if (effect.target.kind !== "entity") {
throw new Error("Expected a camera rig entity control target.");
}
dispatches.push(`${link.id}:${effect.type}:${effect.target.entityId}`);
}
})