Skip to content

Commit 8ddc1d8

Browse files
authored
fix(chat-deploy-url): update tests for getEmailDomain (#769)
* fix chat deploy URL in prod * update tests
1 parent e90138a commit 8ddc1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/app/api/chat/edit/[id]/route.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('Chat Edit API Route', () => {
7171
}))
7272

7373
vi.doMock('@/lib/urls/utils', () => ({
74-
getBaseDomain: vi.fn().mockReturnValue('localhost:3000'),
74+
getEmailDomain: vi.fn().mockReturnValue('localhost:3000'),
7575
}))
7676

7777
vi.doMock('@/lib/environment', () => ({

0 commit comments

Comments
 (0)