Skip to content

The agent that grows with you

fix(desktop): add missing update mock to ComposerActionsScope test double

Teknium86379c519ac3
diff --git a/apps/desktop/src/app/chat/hooks/use-composer-actions.test.ts b/apps/desktop/src/app/chat/hooks/use-composer-actions.test.ts
index 474cda2f2bb..a7b76e1d09f 100644
--- a/apps/desktop/src/app/chat/hooks/use-composer-actions.test.ts
+++ b/apps/desktop/src/app/chat/hooks/use-composer-actions.test.ts
@@ -294,7 +294,8 @@ describe('useComposerActions native image drops', () => {
scope: {
add,
remove: vi.fn(() => null),
- target: 'test-composer'
+ target: 'test-composer',
+ update: vi.fn(() => true)
}
})
)