mirror of
https://github.com/langgenius/dify.git
synced 2026-06-03 08:16:37 +08:00
test: stabilize modal context pricing test (#36524)
This commit is contained in:
@@ -18,6 +18,10 @@ vi.mock('@/next/navigation', () => ({
|
||||
useSearchParams: vi.fn(() => new URLSearchParams()),
|
||||
}))
|
||||
|
||||
vi.mock('@/app/components/billing/pricing', () => ({
|
||||
default: () => <div>billing.plansCommon.mostPopular</div>,
|
||||
}))
|
||||
|
||||
const mockUseProviderContext = vi.fn()
|
||||
vi.mock('@/context/provider-context', () => ({
|
||||
useProviderContext: () => mockUseProviderContext(),
|
||||
|
||||
Reference in New Issue
Block a user