Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
// @vitest-environment node
import { describe, expect, it } from "vitest";
import { docsHrefForLocale } from "./docs-href";
describe("docsHrefForLocale", () => {
it("routes each supported locale to the matching docs entry", () => {
expect(docsHrefForLocale("en")).toBe("/docs");
expect(docsHrefForLocale("zh-Hans")).toBe("/docs/zh");
expect(docsHrefForLocale("zh-Hant")).toBe("/docs/zh-Hant");
expect(docsHrefForLocale("ko")).toBe("/docs/ko");
expect(docsHrefForLocale("ja")).toBe("/docs/ja");
expect(docsHrefForLocale("fr")).toBe("/docs/fr");
});
});