mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 17:49:23 +08:00
fix test
This commit is contained in:
@@ -92,8 +92,10 @@ vi.mock('@/service/workflow', () => ({
|
||||
}))
|
||||
|
||||
const mockInvalidAllLastRun = vi.fn()
|
||||
const mockInvalidateWorkflowRunHistory = vi.fn()
|
||||
vi.mock('@/service/use-workflow', () => ({
|
||||
useInvalidAllLastRun: () => mockInvalidAllLastRun,
|
||||
useInvalidateWorkflowRunHistory: () => mockInvalidateWorkflowRunHistory,
|
||||
}))
|
||||
|
||||
// Mock FlowType
|
||||
|
||||
Reference in New Issue
Block a user