fix: discord links in tests

This commit is contained in:
jubnl
2026-04-15 08:12:22 +02:00
parent 0c2e0cad5c
commit ff434f4515
2 changed files with 2 additions and 2 deletions
@@ -68,7 +68,7 @@ describe('GitHubPanel', () => {
expect(bmc).toHaveAttribute('rel', 'noopener noreferrer'); expect(bmc).toHaveAttribute('rel', 'noopener noreferrer');
const discord = screen.getByText('Discord').closest('a')!; 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('target', '_blank');
expect(discord).toHaveAttribute('rel', 'noopener noreferrer'); expect(discord).toHaveAttribute('rel', 'noopener noreferrer');
}); });
@@ -34,7 +34,7 @@ describe('AboutTab', () => {
it('FE-COMP-ABOUT-005: displays Discord link with correct href', () => { it('FE-COMP-ABOUT-005: displays Discord link with correct href', () => {
render(<AboutTab appVersion="2.9.10" />); render(<AboutTab appVersion="2.9.10" />);
const link = screen.getByText('Discord').closest('a'); 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', () => { it('FE-COMP-ABOUT-006: displays bug report link', () => {