fix: discord links in tests
This commit is contained in:
parent
0c2e0cad5c
commit
ff434f4515
@ -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', () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user