From 9b912ff454df3aad71b4202eaf55d03ef37ae3db Mon Sep 17 00:00:00 2001 From: Richard Yu Date: Tue, 13 Jan 2026 00:33:43 -0800 Subject: [PATCH] fix: resolve mock type errors in useJobErrorReporting test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/components/queue/job/useJobErrorReporting.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/queue/job/useJobErrorReporting.test.ts b/src/components/queue/job/useJobErrorReporting.test.ts index d6cf8f4d4..f6d0f8d36 100644 --- a/src/components/queue/job/useJobErrorReporting.test.ts +++ b/src/components/queue/job/useJobErrorReporting.test.ts @@ -60,10 +60,12 @@ describe('useJobErrorReporting', () => { dialog = { showExecutionErrorDialog, showErrorDialog - } + } as unknown as JobErrorDialogService composable = useJobErrorReporting({ taskForJob, - copyToClipboard, + copyToClipboard: copyToClipboard as ( + value: string + ) => void | Promise, dialog }) })