mirror of
https://github.com/langgenius/dify.git
synced 2026-05-30 05:37:48 +08:00
test: mock document title in installed app flow
This commit is contained in:
@ -19,6 +19,10 @@ vi.mock('@/context/web-app-context', () => ({
|
||||
useWebAppStore: vi.fn(),
|
||||
}))
|
||||
|
||||
vi.mock('@/hooks/use-document-title', () => ({
|
||||
default: vi.fn(),
|
||||
}))
|
||||
|
||||
vi.mock('@/service/access-control', () => ({
|
||||
useGetUserCanAccessApp: vi.fn(),
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user