Add playAnimation and stopAnimation methods to mock objects

This commit is contained in:
2026-04-01 00:04:05 +02:00
parent f981efde61
commit 7b8d54e393

View File

@@ -128,7 +128,9 @@ describe("RuntimeInteractionSystem", () => {
}, },
toggleBrushVisibility: () => { toggleBrushVisibility: () => {
dispatches.push("toggle"); dispatches.push("toggle");
} },
playAnimation: () => {},
stopAnimation: () => {}
} }
); );
interactionSystem.updatePlayerPosition( interactionSystem.updatePlayerPosition(
@@ -144,7 +146,9 @@ describe("RuntimeInteractionSystem", () => {
}, },
toggleBrushVisibility: () => { toggleBrushVisibility: () => {
dispatches.push("toggle"); dispatches.push("toggle");
} },
playAnimation: () => {},
stopAnimation: () => {}
} }
); );