Update test mocks for new serviceUrlBehavior setting

f58cfe9 (Open script service URLs in-app or external) added
serviceUrlBehavior to AppSettings and a new useDropdownMenuClose
export from dropdown-menu. The unit tests were not updated:

- use-settings.test.ts: expected settings objects missed the new
  serviceUrlBehavior field.
- workspace-scripts-button.test.tsx: dropdown-menu mock missed
  useDropdownMenuClose, breaking HostLinkRow render.
This commit is contained in:
Mohamed Boudra
2026-05-03 15:38:01 +07:00
parent f2da4b861b
commit d6c3896fd9
2 changed files with 5 additions and 0 deletions
@@ -107,6 +107,7 @@ vi.mock("@/components/ui/dropdown-menu", () => ({
: children}
</button>
),
useDropdownMenuClose: () => () => {},
}));
vi.mock("lucide-react-native", () => {