From ce3ec96528ac8b9957ed2fc4356966c2f19d1381 Mon Sep 17 00:00:00 2001 From: archipelago Date: Wed, 7 Oct 2026 11:34:49 -0400 Subject: [PATCH] Keep companion PiP test compatible with project target --- neode-ui/src/composables/__tests__/useCompanionVideoPip.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neode-ui/src/composables/__tests__/useCompanionVideoPip.test.ts b/neode-ui/src/composables/__tests__/useCompanionVideoPip.test.ts index 3d39ca4d..287fbbf5 100644 --- a/neode-ui/src/composables/__tests__/useCompanionVideoPip.test.ts +++ b/neode-ui/src/composables/__tests__/useCompanionVideoPip.test.ts @@ -27,7 +27,7 @@ describe('retained companion Cloud video PiP',()=>{ f.bridge.onmessage({data:JSON.stringify({type:'event',session:f.messages[0].id,state:'command',command:'pause'})}) expect(f.video.pause).toHaveBeenCalled() f.bridge.onmessage({data:JSON.stringify({type:'event',session:f.messages[0].id,state:'restored'})}) - expect(f.pip.active.value).toBe(false);expect(f.messages.at(-1).action).toBe('release');f.wrapper.unmount() + expect(f.pip.active.value).toBe(false);expect(f.messages[f.messages.length - 1].action).toBe('release');f.wrapper.unmount() }) it('ignores another session controls and stops original video on native dismissal',async()=>{ const f=fixture();await f.pip.enter();vi.mocked(f.video.pause).mockClear()