mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
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:
@@ -60,10 +60,12 @@ describe('useJobErrorReporting', () => {
|
|||||||
dialog = {
|
dialog = {
|
||||||
showExecutionErrorDialog,
|
showExecutionErrorDialog,
|
||||||
showErrorDialog
|
showErrorDialog
|
||||||
}
|
} as unknown as JobErrorDialogService
|
||||||
composable = useJobErrorReporting({
|
composable = useJobErrorReporting({
|
||||||
taskForJob,
|
taskForJob,
|
||||||
copyToClipboard,
|
copyToClipboard: copyToClipboard as (
|
||||||
|
value: string
|
||||||
|
) => void | Promise<void>,
|
||||||
dialog
|
dialog
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user