Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

test: the server section links the app's view of the privacy policy

Maurice0557c7290b2a
diff --git a/client/src/components/Settings/NativeServerSection.test.tsx b/client/src/components/Settings/NativeServerSection.test.tsx
index 03467e9eb..bd188af77 100644
--- a/client/src/components/Settings/NativeServerSection.test.tsx
+++ b/client/src/components/Settings/NativeServerSection.test.tsx
@@ -36,7 +36,7 @@ describe.each([
vi.mocked(nativeServerHost).mockReturnValue('trek.example.com');
render(<Section />);
const link = screen.getByRole('link', { name: 'Privacy policy' });
- expect(link).toHaveAttribute('href', 'https://liketrek.com/privacy');
+ expect(link).toHaveAttribute('href', 'https://liketrek.com/privacy?app=1');
expect(link).toHaveAttribute('target', '_blank');
});
});