mirror of https://github.com/langgenius/dify.git
fix test
This commit is contained in:
parent
dee2492350
commit
2a1e9a3bd7
|
|
@ -59,6 +59,11 @@ vi.mock('./hooks/use-dsl-drag-drop', () => ({
|
|||
const mockSetActiveTab = vi.fn()
|
||||
vi.mock('nuqs', () => ({
|
||||
useQueryState: () => ['all', mockSetActiveTab],
|
||||
parseAsString: {
|
||||
withDefault: () => ({
|
||||
withOptions: () => ({}),
|
||||
}),
|
||||
},
|
||||
}))
|
||||
|
||||
// Mock service hooks - use object for mutable state (vi.mock is hoisted)
|
||||
|
|
|
|||
Loading…
Reference in New Issue