GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(web): isolate new-thread tests from modal navigation · pingdotgg/t3code@7b783b6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src/hooks
    • useHandleNewThread.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: apps/web/src/hooks/useHandleNewThread.test.ts
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ vi.mock("react", () => ({
183183
useCallback: <T>(callback: T) => callback,
184184
useMemo: <T>(factory: () => T) => factory(),
185185
}));
186+
vi.mock("../components/sidebar/mainAppLocation", () => ({
187+
getAppModalReturnThreadTarget: () => null,
188+
isAppModalPage: () => false,
189+
}));
186190
vi.mock("../components/Sidebar.logic", () => ({ orderItemsByPreferredIds: () => [] }));
187191
vi.mock("../composerDraftStore", () => {
188192
const useComposerDraftStore = Object.assign(() => null, {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.