Skip to content

Commit 8de7959

Browse files
test(web): drop the obsolete modal-navigation mock from new-thread tests
AI-assisted; verified with the tests and tools listed above.
1 parent afbc8a8 commit 8de7959

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎apps/web/src/hooks/useHandleNewThread.test.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ vi.mock("react", () => ({
184184
useCallback: <T>(callback: T) => callback,
185185
useMemo: <T>(factory: () => T) => factory(),
186186
}));
187-
vi.mock("../components/sidebar/mainAppLocation", () => ({
188-
getAppModalReturnThreadTarget: () => null,
189-
isAppModalPage: () => false,
190-
}));
191187
vi.mock("../components/Sidebar.logic", () => ({
192188
orderItemsByPreferredIds: ({ items }: { items: unknown[] }) => items,
193189
}));

0 commit comments

Comments
 (0)