fix(agent): resolve lint, typecheck, and stop button UI issues

This commit is contained in:
yiling
2026-07-14 10:35:25 +08:00
parent 8a942d4f4e
commit cd48d2d389
4 changed files with 40 additions and 38 deletions
+3 -1
View File
@@ -219,7 +219,9 @@ describe('Chat API', () => {
},
},
]
vi.mocked(prisma.workflowTask.findMany).mockResolvedValue(mockActiveTasks as unknown as WorkflowTask[])
vi.mocked(prisma.workflowTask.findMany).mockResolvedValue(
mockActiveTasks as unknown as WorkflowTask[],
)
vi.mocked(prisma.workflowTask.update).mockResolvedValue({} as unknown as WorkflowTask)
const { workflowService } = await import('@shumai/workflow-core')