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.

451 B
Raw Blame
import { DEFAULT_LANGUAGE } from '../../../src/config';
import { ConfigController } from '../../../src/nest/config/config.controller';

import { describe, it, expect } from 'vitest';

describe('ConfigController (parity with the legacy /api/config route)', () => {
  it('returns the server default language, like the legacy public route', () => {
    expect(new ConfigController().getConfig()).toEqual({ defaultLanguage: DEFAULT_LANGUAGE });
  });
});