mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
fix: discord links in tests
This commit is contained in:
@@ -68,7 +68,7 @@ describe('GitHubPanel', () => {
|
||||
expect(bmc).toHaveAttribute('rel', 'noopener noreferrer');
|
||||
|
||||
const discord = screen.getByText('Discord').closest('a')!;
|
||||
expect(discord).toHaveAttribute('href', 'https://discord.gg/nSdKaXgN');
|
||||
expect(discord).toHaveAttribute('href', 'https://discord.gg/NhZBDSd4qW');
|
||||
expect(discord).toHaveAttribute('target', '_blank');
|
||||
expect(discord).toHaveAttribute('rel', 'noopener noreferrer');
|
||||
});
|
||||
|
||||
@@ -34,7 +34,7 @@ describe('AboutTab', () => {
|
||||
it('FE-COMP-ABOUT-005: displays Discord link with correct href', () => {
|
||||
render(<AboutTab appVersion="2.9.10" />);
|
||||
const link = screen.getByText('Discord').closest('a');
|
||||
expect(link).toHaveAttribute('href', 'https://discord.gg/nSdKaXgN');
|
||||
expect(link).toHaveAttribute('href', 'https://discord.gg/NhZBDSd4qW');
|
||||
});
|
||||
|
||||
it('FE-COMP-ABOUT-006: displays bug report link', () => {
|
||||
|
||||
Reference in New Issue
Block a user