mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(home): route support link to pass page
This commit is contained in:
@@ -128,6 +128,7 @@ describe('Home', () => {
|
|||||||
expect(container.textContent).toContain('current_users 7');
|
expect(container.textContent).toContain('current_users 7');
|
||||||
expect(container.textContent).toContain('boards_tracked 2');
|
expect(container.textContent).toContain('boards_tracked 2');
|
||||||
expect(container.querySelector('[data-testid="site-legal-meta"]')?.textContent).toBe('site-legal-meta');
|
expect(container.querySelector('[data-testid="site-legal-meta"]')?.textContent).toBe('site-legal-meta');
|
||||||
|
expect(container.querySelector<HTMLAnchorElement>('a[href="/pass"]')?.textContent).toBe('support_5chan');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('navigates to the canonical board path when the search form is submitted', async () => {
|
it('navigates to the canonical board path when the search form is submitted', async () => {
|
||||||
|
|||||||
@@ -158,9 +158,7 @@ export const Footer = () => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href='https://github.com/sponsors/tomcasaburi' target='_blank' rel='noopener noreferrer'>
|
<Link to='/pass'>{t('support_5chan')}</Link>
|
||||||
{t('support_5chan')}
|
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href='https://github.com/bitsocialnet/5chan' target='_blank' rel='noopener noreferrer'>
|
<a href='https://github.com/bitsocialnet/5chan' target='_blank' rel='noopener noreferrer'>
|
||||||
|
|||||||
Reference in New Issue
Block a user