mirror of https://github.com/langgenius/dify.git
fix test
This commit is contained in:
parent
9e4ffe5467
commit
97af41b2f5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue