fix: resolve mock type errors in useJobErrorReporting test

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Richard Yu
2026-01-13 00:33:43 -08:00
parent 7ef92b0411
commit 9b912ff454

View File

@@ -60,10 +60,12 @@ describe('useJobErrorReporting', () => {
dialog = {
showExecutionErrorDialog,
showErrorDialog
}
} as unknown as JobErrorDialogService
composable = useJobErrorReporting({
taskForJob,
copyToClipboard,
copyToClipboard: copyToClipboard as (
value: string
) => void | Promise<void>,
dialog
})
})