From 36b6e19c4d68889c3e35757f870595ff3d13ec29 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 02:43:29 +0200 Subject: [PATCH] Mock AnimationMixer with stopAllAction in runtime-host.test.ts --- tests/unit/runtime-host.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/runtime-host.test.ts b/tests/unit/runtime-host.test.ts index 0382abc4..624b77c6 100644 --- a/tests/unit/runtime-host.test.ts +++ b/tests/unit/runtime-host.test.ts @@ -368,7 +368,9 @@ describe("RuntimeHost", () => { .mockImplementation(() => undefined); hostInternals.animationMixers.set( modelInstance.id, - {} as unknown as AnimationMixer + { + stopAllAction: vi.fn() + } as unknown as AnimationMixer ); const playAnimationSpy = vi .spyOn(hostInternals, "applyPlayAnimationAction")