chroe: ts problems

This commit is contained in:
Joel
2025-12-18 11:28:23 +08:00
parent 4fd20dbff9
commit 6e38812414

View File

@@ -95,7 +95,7 @@ jest.mock('@/app/components/workflow/utils/node-navigation', () => ({
selectWorkflowNode: jest.fn(),
}))
jest.mock('../plugins/install-plugin/install-from-marketplace', () => (props: any) => (
jest.mock('../plugins/install-plugin/install-from-marketplace', () => (props: { manifest?: { name?: string }, onClose: () => void }) => (
<div data-testid="install-modal">
<span>{props.manifest?.name}</span>
<button onClick={props.onClose}>close</button>