This commit is contained in:
yyh 2025-12-26 15:38:24 +08:00
parent dee2492350
commit 2a1e9a3bd7
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -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)