Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

test: stabilize modal context pricing test (#36524)

Escape070778f40c0d25cb
diff --git a/web/context/modal-context.test.tsx b/web/context/modal-context.test.tsx
index 7434130c313..a5758dc7575 100644
--- a/web/context/modal-context.test.tsx
+++ b/web/context/modal-context.test.tsx
@@ -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(),