test: mock document title in installed app flow

This commit is contained in:
Jingyi-Dify
2026-05-28 15:56:21 -07:00
parent e897867c48
commit 8093e7731d

View File

@ -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(),
}))