From 8ddc1d8eda109bc9ae471b93ed74b1c9a82431b8 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 23 Jul 2025 02:18:56 -0700 Subject: [PATCH] fix(chat-deploy-url): update tests for getEmailDomain (#769) * fix chat deploy URL in prod * update tests --- apps/sim/app/api/chat/edit/[id]/route.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/app/api/chat/edit/[id]/route.test.ts b/apps/sim/app/api/chat/edit/[id]/route.test.ts index feee2f6d17..ee105a8850 100644 --- a/apps/sim/app/api/chat/edit/[id]/route.test.ts +++ b/apps/sim/app/api/chat/edit/[id]/route.test.ts @@ -71,7 +71,7 @@ describe('Chat Edit API Route', () => { })) vi.doMock('@/lib/urls/utils', () => ({ - getBaseDomain: vi.fn().mockReturnValue('localhost:3000'), + getEmailDomain: vi.fn().mockReturnValue('localhost:3000'), })) vi.doMock('@/lib/environment', () => ({