mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 13:10:29 +00:00
test: the server section links the app's view of the privacy policy
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user