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 }) })