import { describe, it, expect } from "vitest";
import { useCityName } from "./useDictionaries.js";

describe("useCityName", () => {
  it("returns the code itself (Phase 2 passthrough)", () => {
    expect(useCityName("SVO")).toBe("SVO");
  });

  it("returns the code for any input", () => {
    expect(useCityName("LED")).toBe("LED");
    expect(useCityName("MOW")).toBe("MOW");
    expect(useCityName("JFK")).toBe("JFK");
  });

  it("handles empty string", () => {
    expect(useCityName("")).toBe("");
  });
});
