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

This commit is contained in:
Maurice
2026-11-07 12:16:00 +01:00
parent a2aeeb32c8
commit 0557c7290b
@@ -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');
});
});