Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

899 B
Raw Blame
// FE-MOB-SET-ABOUT-001
import { describe, expect, it } from 'vitest';
import MSettingsAbout from '../../../../src/mobile/screens/settings/MSettingsAbout';
import { render, screen } from '../../../helpers/render';

describe('MSettingsAbout', () => {
  it('FE-MOB-SET-ABOUT-001: points the bug, feature request and wiki links at the liketrek/TREK repository', () => {
    render(<MSettingsAbout appVersion="1.0.0" />);

    expect(screen.getByText('Report a Bug').closest('a')).toHaveAttribute(
      'href',
      'https://github.com/liketrek/TREK/issues/new?template=bug_report.yml'
    );
    expect(screen.getByText('Feature Request').closest('a')).toHaveAttribute(
      'href',
      'https://github.com/liketrek/TREK/discussions/new?category=feature-requests'
    );
    expect(screen.getByText('Wiki').closest('a')).toHaveAttribute('href', 'https://github.com/liketrek/TREK/wiki');
  });
});